Commit b1745eda authored by Hanno Schlichting's avatar Hanno Schlichting

Avoid a has_key

parent 8121aef8
......@@ -138,8 +138,8 @@ class Permission:
return self.name
_registeredPermissions={}
_registerdPermission=_registeredPermissions.has_key
_registeredPermissions = {}
_registerdPermission = _registeredPermissions.__contains__
def registerPermissions(permissions, defaultDefault=('Manager', )):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment