aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/project/cmake/build.py
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-04-13 19:14:23 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-04-13 19:14:23 +0300
commit0fa3ad2c007d1ea90694f73754ccac8c42dcdf93 (patch)
tree2133c45f56693878fc7b4c00a9005469eb78bd77 /project/cmake/build.py
parentsetup.cfg: fix package name (diff)
downloadcmake-common-0fa3ad2c007d1ea90694f73754ccac8c42dcdf93.tar.gz
cmake-common-0fa3ad2c007d1ea90694f73754ccac8c42dcdf93.zip
remove excessive logging & obsolete project.ci.* packages
Logging command line arguments before parsing them is a bit excessive.
Diffstat (limited to 'project/cmake/build.py')
-rw-r--r--project/cmake/build.py4
1 files changed, 2 insertions, 2 deletions
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__':