diff options
author | Rene Lopez <rsl@member.fsf.org> | 2017-05-31 04:18:31 -0500 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2017-06-03 21:31:27 +0300 |
commit | 94f46447bb22c02b36bd7e789bf060638506687a (patch) | |
tree | a3c033e2f5113ba2c61d9342db7f3b432337b912 /mesonbuild/scripts/gettext.py | |
parent | b54e1d29fe00efc7128fbf98d606d77f86d3703e (diff) | |
download | meson-94f46447bb22c02b36bd7e789bf060638506687a.zip meson-94f46447bb22c02b36bd7e789bf060638506687a.tar.gz meson-94f46447bb22c02b36bd7e789bf060638506687a.tar.bz2 |
Allow empty extra arguments in gettext script
Diffstat (limited to 'mesonbuild/scripts/gettext.py')
-rw-r--r-- | mesonbuild/scripts/gettext.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/scripts/gettext.py b/mesonbuild/scripts/gettext.py index f8b538c..ef4f42a 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 |