aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ci/build_travis.py
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2019-12-16 09:55:50 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2019-12-16 12:04:44 +0300
commitf1b56311d06aa2371779a34aae0be55e7bb1c1f6 (patch)
tree687a80dee6ab90fb502148a75490085d4f9114ed /ci/build_travis.py
parentci: minor script enhancements (diff)
downloadcmake-common-f1b56311d06aa2371779a34aae0be55e7bb1c1f6.tar.gz
cmake-common-f1b56311d06aa2371779a34aae0be55e7bb1c1f6.zip
ci: fix a bug in case no positional parameters
Diffstat (limited to '')
-rwxr-xr-xci/build_travis.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ci/build_travis.py b/ci/build_travis.py
index 4b3a3eb..25dbe70 100755
--- a/ci/build_travis.py
+++ b/ci/build_travis.py
@@ -55,7 +55,7 @@ def _parse_args(argv=None):
parser = argparse.ArgumentParser(description='Build a CMake project on Travis')
parser.add_argument('--install', metavar='DIR', dest='install_dir',
help='install directory')
- parser.add_argument('cmake_args', nargs='*', metavar='CMAKE_ARG', default=(),
+ parser.add_argument('cmake_args', nargs='*', metavar='CMAKE_ARG', default=[],
help='additional CMake arguments, to be passed verbatim')
return parser.parse_args(argv)