diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2017-09-22 21:33:34 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-22 21:33:34 +0300 |
commit | be0aa7fd740d5808975868e32649c464e031f526 (patch) | |
tree | e4bd6488d66a602edb3ba65e97ff12834974edac /mesonbuild/modules/i18n.py | |
parent | 2ab4b397a85071fc3c10cfab60373e9ad88e5d0f (diff) | |
parent | 68d4c1e559fef510e257b36d69fd907b16830efd (diff) | |
download | meson-be0aa7fd740d5808975868e32649c464e031f526.zip meson-be0aa7fd740d5808975868e32649c464e031f526.tar.gz meson-be0aa7fd740d5808975868e32649c464e031f526.tar.bz2 |
Merge pull request #2357 from LukeShu/flake8
Bring into compliance with flake8
Diffstat (limited to 'mesonbuild/modules/i18n.py')
-rw-r--r-- | mesonbuild/modules/i18n.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/mesonbuild/modules/i18n.py b/mesonbuild/modules/i18n.py index 5df8524..c1dd837 100644 --- a/mesonbuild/modules/i18n.py +++ b/mesonbuild/modules/i18n.py @@ -12,7 +12,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -import sys import shutil from os import path @@ -20,7 +19,7 @@ from .. import coredata, mesonlib, build from ..mesonlib import MesonException from . import ModuleReturnValue from . import ExtensionModule -from . import permittedKwargs +from ..interpreterbase import permittedKwargs PRESET_ARGS = { 'glib': [ @@ -72,8 +71,10 @@ class I18nModule(ExtensionModule): datadirs = self._get_data_dirs(state, mesonlib.stringlistify(kwargs.pop('data_dirs', []))) datadirs = '--datadirs=' + ':'.join(datadirs) if datadirs else None - command = state.environment.get_build_command() + ['--internal', 'msgfmthelper', - '@INPUT@', '@OUTPUT@', file_type, podir] + command = state.environment.get_build_command() + [ + '--internal', 'msgfmthelper', + '@INPUT@', '@OUTPUT@', file_type, podir + ] if datadirs: command.append(datadirs) |