From b165866f398346b3ef8402589aaaa234bf0d626f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubom=C3=ADr=20Sedl=C3=A1=C5=99?= Date: Wed, 3 Apr 2019 13:09:12 +0200 Subject: [PATCH] config-dump: Fix crash when used without --define MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The default value is None, which is not iterable. Signed-off-by: Lubomír Sedlář --- bin/pungi-config-dump | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/pungi-config-dump b/bin/pungi-config-dump index c1b3fab8..ec9e5659 100755 --- a/bin/pungi-config-dump +++ b/bin/pungi-config-dump @@ -64,6 +64,7 @@ def main(): "-e", "--define", action="append", + default=[], metavar="VAR=VALUE", type=validate_definition, help=(