0f80c70a2bdaffbf4b1797aea481a62641701e93,src/python/pants/releases/reversion.py,,reversion,#Any#,92

Before Change


    record_file = os.path.join(dist_info_dir, "RECORD")

    // Load metadata for the input whl.
    with open(os.path.join(workspace, dist_info_dir, "metadata.json"), "r") as info:
      metadata = json.load(info)
    input_version = metadata["version"]

    // Rewrite and move all files (including the RECORD file), recording which files need to be
    // re-fingerprinted due to content changes.

After Change


        mo = _version_re.match(line)
        if mo:
          input_version = mo.group("version")
          break
    if not input_version:
      raise Exception("Could not find `Version:` line in {}".format(metadata_file))

    // Rewrite and move all files (including the RECORD file), recording which files need to be
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 4

Instances


Project Name: pantsbuild/pants
Commit Name: 0f80c70a2bdaffbf4b1797aea481a62641701e93
Time: 2018-10-14
Author: benjyw@gmail.com
File Name: src/python/pants/releases/reversion.py
Class Name:
Method Name: reversion


Project Name: Microsoft/nni
Commit Name: 19173aa4370e36cba96ee7049eaaa0dceda5007c
Time: 2019-08-14
Author: suiguoxin@gmail.com
File Name: tools/nni_gpu_tool/gpu_metrics_collector.py
Class Name:
Method Name: main


Project Name: Microsoft/nni
Commit Name: eaf421206d42537f956f46ba2945335d060e21ea
Time: 2019-08-11
Author: suiguoxin@gmail.com
File Name: tools/nni_gpu_tool/gpu_metrics_collector.py
Class Name:
Method Name: main


Project Name: NervanaSystems/coach
Commit Name: 869bd421a359309b719e3678dca56a07c9ad9726
Time: 2019-03-28
Author: 46447582+anabwan@users.noreply.github.com
File Name: rl_coach/tests/utils/test_utils.py
Class Name:
Method Name: find_string_in_logs