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/cmake/build.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'project/cmake') diff --git a/project/cmake/build.py b/project/cmake/build.py index cb2e4cb..74cafa6 100644 --- a/project/cmake/build.py +++ b/project/cmake/build.py @@ -197,7 +197,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__, @@ -240,8 +239,9 @@ def _parse_args(argv=None): def main(argv=None): + args = _parse_args(argv) with setup_logging(): - build(BuildParameters.from_args(_parse_args(argv))) + build(BuildParameters.from_args(args)) if __name__ == '__main__': -- cgit v1.2.3