Fix dangerous default args. (#29839)

This commit is contained in:
Matt Clay 2017-09-12 00:11:13 -07:00 committed by GitHub
parent 5caa47feb9
commit 68aeaa58a8
50 changed files with 253 additions and 87 deletions

View file

@ -166,7 +166,7 @@ class ActionBase(with_metaclass(ABCMeta, object)):
return (module_style, module_shebang, module_data, module_path)
def _compute_environment_string(self, raw_environment_out=dict()):
def _compute_environment_string(self, raw_environment_out=None):
'''
Builds the environment string to be used when executing the remote task.
'''