Changeset 6202 for main/waeup.sirp/trunk/src/waeup/sirp/users.py
- Timestamp:
- 26 May 2011, 23:34:04 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/users.py
r6180 r6202 63 63 @grok.subscribe(Interface, grok.IObjectRemovedEvent) 64 64 def handle_local_roles_on_obj_removal(obj, event): 65 role_map = IPrincipalRoleMap(obj) 65 try: 66 role_map = IPrincipalRoleMap(obj) 67 except TypeError: 68 # no map, no roles to remove 69 return 66 70 for local_role, user_name, setting in role_map.getPrincipalsAndRoles(): 67 71 notify(LocalRoleSetEvent(
Note: See TracChangeset for help on using the changeset viewer.