- Timestamp:
- Feb 27, 2009, 9:01:05 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/invirt-web/code/cache_acls.py
r2223 r2226 75 75 old_admin_acl = set(a.user for a in Admin.query()) 76 76 for removed in old_admin_acl - admin_acl: 77 Admin.query.filter_by(user=removed).delete() 77 old = Admin.query.filter_by(user=removed).first() 78 session.delete(old) 78 79 for added in admin_acl - old_admin_acl: 79 80 a = Admin(user=added)
Note: See TracChangeset
for help on using the changeset viewer.