cad76bebfc96516d2ae22a3486f7702440938e3b,bears/generate_package.py,,main,#,99

Before Change


                os.path.join("bears", "upload"), bear_file_name, bear_name)

            substitution_dict = {"NAME": repr(bear_name),
                                 "VERSION": repr(VERSION),
                                 "AUTHORS": str(bear_object.AUTHORS),
                                 "AUTHORS_EMAILS":
                                 str(bear_object.AUTHORS_EMAILS),

After Change


            create_file_structure_for_packages(
                os.path.join("bears", "upload"), bear_file_name, bear_name)
            bear_version = VERSION
            if "dev" in bear_version:  // pragma: no cover
                bear_version = bear_version[:bear_version.find("dev")] + (
                    nano_version)
            else:  // pragma: no cover
                bear_version = repr(bear_version) + "." + nano_version
            substitution_dict = {"NAME": repr(bear_name),
                                 "VERSION": bear_version,
                                 "AUTHORS": str(bear_object.AUTHORS),
                                 "AUTHORS_EMAILS":
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: coala/coala-bears
Commit Name: cad76bebfc96516d2ae22a3486f7702440938e3b
Time: 2016-07-21
Author: zgadi_2007@yahoo.com
File Name: bears/generate_package.py
Class Name:
Method Name: main


Project Name: pantsbuild/pants
Commit Name: bdbbd65c570f62086e6370767a3ed6f526022b14
Time: 2014-11-04
Author: stuhood@gmail.com
File Name: tests/python/pants_test/base_test.py
Class Name: BaseTest
Method Name: create_library


Project Name: dit/dit
Commit Name: 02b3eb5856f9141ac3f6e3d7970e3084449abc2a
Time: 2014-04-14
Author: chebee7i@gmail.com
File Name: dit/exceptions.py
Class Name: InvalidOutcome
Method Name: __init__