Be more defensive
This commit is contained in:
parent
10d300628d
commit
46c86bdb0e
@ -2,8 +2,12 @@
|
|||||||
|
|
||||||
|
|
||||||
def filter_update_env(config, env):
|
def filter_update_env(config, env):
|
||||||
|
if config.get("env", False) is False:
|
||||||
|
return config
|
||||||
|
|
||||||
for key, val in env:
|
for key, val in env:
|
||||||
config["env"][key] = val
|
config["env"][key] = val
|
||||||
|
|
||||||
return config
|
return config
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user