6462248db9d435f048d871f0262eeddc04f76337,PyInstaller/__main__.py,,run,#Any#Any#,53

Before Change


    check_requirements()

    try:
        parser = optparse.OptionParser(
            usage="%prog [opts] <scriptname> [ <scriptname> ...] | <specfile>"
            )
        __add_options(parser)
        PyInstaller.building.makespec.__add_options(parser)
        PyInstaller.building.build_main.__add_options(parser)
        PyInstaller.log.__add_options(parser)
        PyInstaller.compat.__add_obsolete_options(parser)

        opts, args = parser.parse_args(pyi_args)
        PyInstaller.log.__process_options(parser, opts)

        // Print program version and exit
        if opts.version:
            print(__version__)
            raise SystemExit(0)

        if not args:
            parser.error("Requires at least one scriptname file "
                         "or exactly one .spec-file")

        // Print PyInstaller version, Python version and platform
        // as the first line to stdout.
        // This helps identify PyInstaller, Python and platform version
        //  when users report issues.
        logger.info("PyInstaller: %s" % __version__)
        logger.info("Python: %s" % platform.python_version())
        logger.info("Platform: %s" % platform.platform())

After Change


    check_requirements()

    try:
        parser = argparse.ArgumentParser()
        __add_options(parser)
        PyInstaller.building.makespec.__add_options(parser)
        PyInstaller.building.build_main.__add_options(parser)
        PyInstaller.log.__add_options(parser)
        PyInstaller.compat.__add_obsolete_options(parser)
        parser.add_argument("filenames", metavar="scriptname", nargs="+",
                            help=("name of scriptfiles to be processed or "
                                  "exactly one .spec-file"))

        args = parser.parse_args(pyi_args)
        PyInstaller.log.__process_options(parser, args)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: pyinstaller/pyinstaller
Commit Name: 6462248db9d435f048d871f0262eeddc04f76337
Time: 2015-10-23
Author: h.goebel@crazy-compilers.com
File Name: PyInstaller/__main__.py
Class Name:
Method Name: run


Project Name: pyinstaller/pyinstaller
Commit Name: 6462248db9d435f048d871f0262eeddc04f76337
Time: 2015-10-23
Author: h.goebel@crazy-compilers.com
File Name: PyInstaller/utils/cliutils/bindepend.py
Class Name:
Method Name: run


Project Name: pyinstaller/pyinstaller
Commit Name: 6462248db9d435f048d871f0262eeddc04f76337
Time: 2015-10-23
Author: h.goebel@crazy-compilers.com
File Name: PyInstaller/utils/cliutils/archive_viewer.py
Class Name:
Method Name: run