Change ternary to another argument
This commit is contained in:
parent
6a2926870c
commit
3e6c3ea10c
|
@ -128,7 +128,7 @@ class I18nModule(ExtensionModule):
|
||||||
|
|
||||||
targets = [pottarget, gmotarget, updatepotarget]
|
targets = [pottarget, gmotarget, updatepotarget]
|
||||||
|
|
||||||
install = kwargs.get('install') if ('install' in kwargs) else True
|
install = kwargs.get('install', True)
|
||||||
if install:
|
if install:
|
||||||
script = state.environment.get_build_command()
|
script = state.environment.get_build_command()
|
||||||
args = ['--internal', 'gettext', 'install',
|
args = ['--internal', 'gettext', 'install',
|
||||||
|
|
Loading…
Reference in New Issue