Removing tags/when from role param hash calculation

pull/11561/head
James Cammarata 9 years ago
parent 4203b699a8
commit c5c1dc2f11

@ -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():

Loading…
Cancel
Save