From 94f46447bb22c02b36bd7e789bf060638506687a Mon Sep 17 00:00:00 2001 From: Rene Lopez Date: Wed, 31 May 2017 04:18:31 -0500 Subject: [PATCH] Allow empty extra arguments in gettext script --- mesonbuild/scripts/gettext.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mesonbuild/scripts/gettext.py b/mesonbuild/scripts/gettext.py index f8b538c32..ef4f42a2f 100644 --- a/mesonbuild/scripts/gettext.py +++ b/mesonbuild/scripts/gettext.py @@ -88,7 +88,7 @@ def run(args): options = parser.parse_args(args) subcmd = options.command langs = options.langs.split('@@') if options.langs else None - extra_args = options.extra_args.split('@@') + extra_args = options.extra_args.split('@@') if options.extra_args else [] subdir = os.environ.get('MESON_SUBDIR', '') if options.subdir: subdir = options.subdir