From 0fa3ad2c007d1ea90694f73754ccac8c42dcdf93 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Tue, 13 Apr 2021 19:14:23 +0300 Subject: remove excessive logging & obsolete project.ci.* packages Logging command line arguments before parsing them is a bit excessive. --- project/boost/build.py | 4 ++-- project/boost/download.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'project/boost') 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__': -- cgit v1.2.3