3baf62ba607a95dcb0d5971594389d3586286ef6,src/fetch_foursquare_info.py,,,#,97

Before Change


if fetched_companies:
    print("Saving it all!")
    with open(FOURSQUARE_DATASET_PATH, "w") as outfile:
        json.dump(fetched_companies, outfile)
else:
    print("Nothing to save.")

After Change


            print("%s requests made. Stopping to save." % index)
            if fetched_companies:
                write_fetched_companies(fetched_companies)
                fetched_companies = []
            else:
                print("Nothing to save.")
            print("//////////////////////////////////////////////////////////////////////////////////////")
            print("")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: okfn-brasil/serenata-de-amor
Commit Name: 3baf62ba607a95dcb0d5971594389d3586286ef6
Time: 2016-12-06
Author: andresouzapinho@gmail.com
File Name: src/fetch_foursquare_info.py
Class Name:
Method Name:


Project Name: bokeh/bokeh
Commit Name: 3d1d2ccbe616f84cd9c63e45e267f3b4fdb09c9e
Time: 2015-10-23
Author: hp@pobox.com
File Name: bokeh/embed.py
Class Name:
Method Name: notebook_div


Project Name: nilmtk/nilmtk
Commit Name: 1f32f952d84f0d44fcfe03367d3834d2464b63a0
Time: 2018-04-22
Author: 10246101+PMeira@users.noreply.github.com
File Name: nilmtk/disaggregate/combinatorial_optimisation.py
Class Name: CombinatorialOptimisation
Method Name: export_model


Project Name: jsalt18-sentence-repl/jiant
Commit Name: f688c3c4a8c254bf5cdefd4e2e61587c0ef7a46e
Time: 2018-06-27
Author: jan.hula@osu.cz
File Name: src/preprocess.py
Class Name:
Method Name: build_tasks