diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2019-12-16 09:55:50 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2019-12-16 12:04:44 +0300 |
commit | f1b56311d06aa2371779a34aae0be55e7bb1c1f6 (patch) | |
tree | 687a80dee6ab90fb502148a75490085d4f9114ed /ci/boost/build_travis.py | |
parent | ci: minor script enhancements (diff) | |
download | cmake-common-f1b56311d06aa2371779a34aae0be55e7bb1c1f6.tar.gz cmake-common-f1b56311d06aa2371779a34aae0be55e7bb1c1f6.zip |
ci: fix a bug in case no positional parameters
Diffstat (limited to 'ci/boost/build_travis.py')
-rwxr-xr-x | ci/boost/build_travis.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ci/boost/build_travis.py b/ci/boost/build_travis.py index ec38f7c..7f791e4 100755 --- a/ci/boost/build_travis.py +++ b/ci/boost/build_travis.py @@ -56,7 +56,7 @@ def _parse_args(argv=None): logging.info('Command line arguments: %s', argv) parser = argparse.ArgumentParser() - parser.add_argument('b2_args', nargs='*', metavar='B2_ARG', default=(), + parser.add_argument('b2_args', nargs='*', metavar='B2_ARG', default=[], help='additional b2 arguments, to be passed verbatim') return parser.parse_args(argv) |