Merge pull request #6248 from hkariti/fix_list_copy

Fix incorrect use of copy() on list, causing a traceback
This commit is contained in:
Michael DeHaan 2014-03-03 17:11:30 -05:00
commit 435104065e

View file

@ -237,7 +237,7 @@ class Play(object):
if "tags" in included_dep_vars:
included_dep_vars["tags"] = list(set(included_dep_vars["tags"] + passed_vars["tags"]))
else:
included_dep_vars["tags"] = passed_vars["tags"].copy()
included_dep_vars["tags"] = passed_vars["tags"][:]
dep_vars = utils.combine_vars(passed_vars, dep_vars)
dep_vars = utils.combine_vars(role_vars, dep_vars)