Fix default for --include arg

nargs options are arrays and we assume it's an array later, so it
would iterate over each char of the string if left as the default
pull/9517/head
David Baker 2019-04-17 18:31:36 +01:00
parent 2c0504d596
commit addca871ad
1 changed files with 1 additions and 1 deletions

View File

@ -166,7 +166,7 @@ if __name__ == "__main__":
)
)
parser.add_argument(
"--include", nargs='*', default='./config*.json', help=(
"--include", nargs='*', default=['./config*.json'], help=(
"Symlink these files into the root of the deployed tarball. \
Useful for config files and home pages. Supports glob syntax. \
(Default: '%(default)s')"