2ec54d83cab214aaa65ae500cbb3ee57c014765d,setup.py,,check_remove_bokeh_install,#Any#,202

Before Change


        if not (d == "bokeh" or d.startswith("bokeh-")):
            continue
        prompt = "Found existing bokeh install: %s\nRemove it? [y|N] " % bokeh_path
        val = input(prompt)
        if val == "y":
            print("Removing old bokeh install...", end=" ")
            try:
                if isdir(bokeh_path): shutil.rmtree(bokeh_path)

After Change


        old_bokeh_files.append(bokeh_path)

    if len(old_bokeh_files) == 0:
        return

    print("Found old bokeh files:")
    for path in old_bokeh_files:
        print(" - %s" % path)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: bokeh/bokeh
Commit Name: 2ec54d83cab214aaa65ae500cbb3ee57c014765d
Time: 2016-04-15
Author: bryanv@continuum.io
File Name: setup.py
Class Name:
Method Name: check_remove_bokeh_install


Project Name: zake7749/PTT-Chat-Generator
Commit Name: fe87da76b6b7e54e766ac238f4b5b46d2f578493
Time: 2016-10-20
Author: zake7749@gmail.com
File Name: match.py
Class Name:
Method Name: woreWeightMatch


Project Name: zake7749/PTT-Chat-Generator
Commit Name: fe87da76b6b7e54e766ac238f4b5b46d2f578493
Time: 2016-10-20
Author: zake7749@gmail.com
File Name: match.py
Class Name:
Method Name: fuzzyMatch