Merge "Check that env is not None before decrypting"
This commit is contained in:
commit
79c86def56
|
@ -50,7 +50,8 @@ class RawTemplate(
|
|||
|
||||
tpl.environment = copy.deepcopy(tpl.environment)
|
||||
# If any of the parameters were encrypted, then decrypt them
|
||||
if env_fmt.ENCRYPTED_PARAM_NAMES in tpl.environment:
|
||||
if (tpl.environment is not None and
|
||||
env_fmt.ENCRYPTED_PARAM_NAMES in tpl.environment):
|
||||
parameters = tpl.environment[env_fmt.PARAMETERS]
|
||||
encrypted_param_names = tpl.environment[
|
||||
env_fmt.ENCRYPTED_PARAM_NAMES]
|
||||
|
|
Loading…
Reference in New Issue