Ignore:
Timestamp:
20 Jul 2011, 15:49:16 (13 years ago)
Author:
uli
Message:

When removing a complete site, it can happen that the user folder is
not available any more and the local role notifier should be aware of
that possibility.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/users.py

    r6202 r6527  
    5353    if site is None:
    5454        return
    55     users = site['users']
     55    users = site.get('users', None)
     56    if users is None:
     57        return
    5658    role_id = event.role_id
    5759    if event.principal_id not in users.keys():
Note: See TracChangeset for help on using the changeset viewer.