aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/project/boost
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/boost
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 '')
-rw-r--r--project/boost/build.py4
-rw-r--r--project/boost/download.py4
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__':