diff options
Diffstat (limited to '')
-rw-r--r-- | project/boost/build.py | 4 | ||||
-rw-r--r-- | project/boost/download.py | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/project/boost/build.py b/project/boost/build.py index 8cd41f5..9b44b2f 100644 --- a/project/boost/build.py +++ b/project/boost/build.py @@ -137,7 +137,6 @@ def build(params): def _parse_args(argv=None): if argv is None: argv = sys.argv[1:] - logging.info('Command line arguments: %s', argv) parser = argparse.ArgumentParser( description=__doc__, @@ -189,8 +188,9 @@ def _parse_args(argv=None): def _main(argv=None): + args = _parse_args(argv) with setup_logging(): - build(BuildParameters.from_cmd_args(_parse_args(argv))) + build(BuildParameters.from_cmd_args(args)) if __name__ == '__main__': diff --git a/project/boost/download.py b/project/boost/download.py index a065dab..f2ad21d 100644 --- a/project/boost/download.py +++ b/project/boost/download.py @@ -109,7 +109,6 @@ def download(params): def _parse_args(argv=None): if argv is None: argv = sys.argv[1:] - logging.info('Command line arguments: %s', argv) parser = argparse.ArgumentParser( description=__doc__, @@ -132,8 +131,9 @@ def _parse_args(argv=None): def _main(argv=None): + args = _parse_args(argv) with setup_logging(): - download(DownloadParameters.from_args(_parse_args(argv))) + download(DownloadParameters.from_args(args)) if __name__ == '__main__': |