config-dump: Fix crash when used without --define

The default value is None, which is not iterable.

Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
Lubomír Sedlář 2019-04-03 13:09:12 +02:00
parent 59a9c01304
commit b165866f39

View File

@ -64,6 +64,7 @@ def main():
"-e",
"--define",
action="append",
default=[],
metavar="VAR=VALUE",
type=validate_definition,
help=(