Removing tags/when from role param hash calculation

This commit is contained in:
James Cammarata 2015-07-11 21:49:35 -04:00
parent 4203b699a8
commit c5c1dc2f11

View file

@ -101,8 +101,6 @@ class Role(Base, Become, Conditional, Taggable):
# We use frozenset to make the dictionary hashable. # We use frozenset to make the dictionary hashable.
params = role_include.get_role_params() params = role_include.get_role_params()
params['tags'] = role_include.tags
params['when'] = role_include.when
hashed_params = hash_params(params) hashed_params = hash_params(params)
if role_include.role in play.ROLE_CACHE: if role_include.role in play.ROLE_CACHE:
for (entry, role_obj) in play.ROLE_CACHE[role_include.role].iteritems(): for (entry, role_obj) in play.ROLE_CACHE[role_include.role].iteritems():