0ad7b32e8f67ad66c659408cd53e39b704af3f67,PyInstaller/utils/release.py,,sign_source_distribution,#Any#,23

Before Change


    :param data:
    
    print(30 * "A")
    with open("/tmp/AABB.test", "w") as fp:
        fp.write("Hello entry_point!\n")
    pass

After Change


    // directory and those files will be then uploaded to pypi.
    dist_dir = os.path.join(data["tagdir"], "dist")
    // Sign all files in "dist" directory.
    for f in os.listdir(dist_dir):
        print("Signing file %s" % f)
        exec_command(["gpg", "--detach-sign", "-a", os.path.join(dist_dir, f)])
    print(30 * "B")
    print(str(data))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: pyinstaller/pyinstaller
Commit Name: 0ad7b32e8f67ad66c659408cd53e39b704af3f67
Time: 2015-09-18
Author: mzibr.public@gmail.com
File Name: PyInstaller/utils/release.py
Class Name:
Method Name: sign_source_distribution


Project Name: facebook/FAI-PEP
Commit Name: c68815a01e04ad21d0128b53235ab1bd915b6c6a
Time: 2018-09-07
Author: sf_wind@hotmail.com
File Name: benchmarking/platforms/ios/ios_platform.py
Class Name: IOSPlatform
Method Name: preprocess


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