c2b11cd70fc5a9f64750e80845990cc715cb3d12,PyInstaller/utils/cliutils/set_version.py,,run,#,17
Before Change
out_filename = os.path.abspath("file_version_info.txt")
if len(sys.argv) < 3:
print("Usage: python set_version.py <version_info.txt> <exe>")
print(" where: <version_info.txt> is file containing version info")
print(" and <exe> is the fullpathname of a Windows executable.")
raise SystemExit(1)
info_file = os.path.abspath(sys.argv[1])
exe_file = os.path.abspath(sys.argv[2])
try:
After Change
def run():
PyInstaller.log.init()
parser = argparse.ArgumentParser()
parser.add_argument("info_file", metavar="info-file",
help="text file containing version info")
parser.add_argument("exe_file", metavar="exe-file",
help="full pathname of a Windows executable")
args = parser.parse_args()
info_file = os.path.abspath(args.info_file)
exe_file = os.path.abspath(args.exe_file)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
Instances
Project Name: pyinstaller/pyinstaller
Commit Name: c2b11cd70fc5a9f64750e80845990cc715cb3d12
Time: 2015-10-20
Author: h.goebel@crazy-compilers.com
File Name: PyInstaller/utils/cliutils/set_version.py
Class Name:
Method Name: run
Project Name: pyinstaller/pyinstaller
Commit Name: 2bb844445fc39ea4062164df027280516cd281a2
Time: 2015-10-20
Author: h.goebel@crazy-compilers.com
File Name: PyInstaller/utils/cliutils/grab_version.py
Class Name:
Method Name: run
Project Name: pyinstaller/pyinstaller
Commit Name: c2b11cd70fc5a9f64750e80845990cc715cb3d12
Time: 2015-10-20
Author: h.goebel@crazy-compilers.com
File Name: PyInstaller/utils/cliutils/set_version.py
Class Name:
Method Name: run
Project Name: danforthcenter/plantcv
Commit Name: 86ac6632c5c84d1b5a0018d395542d649d27ca6a
Time: 2017-05-03
Author: noahfahlgren@gmail.com
File Name: plantcv-train.py
Class Name:
Method Name: options