[Zope-Checkins]
SVN: Zope/branches/ctheune-localrolemod/lib/python/AccessControl/Role.py
- commented change as requested by florent
Christian Theune
ct at gocept.com
Thu Nov 25 10:15:35 EST 2004
Log message for revision 28506:
- commented change as requested by florent
Changed:
U Zope/branches/ctheune-localrolemod/lib/python/AccessControl/Role.py
-=-
Modified: Zope/branches/ctheune-localrolemod/lib/python/AccessControl/Role.py
===================================================================
--- Zope/branches/ctheune-localrolemod/lib/python/AccessControl/Role.py 2004-11-25 14:36:38 UTC (rev 28505)
+++ Zope/branches/ctheune-localrolemod/lib/python/AccessControl/Role.py 2004-11-25 15:15:35 UTC (rev 28506)
@@ -349,7 +349,7 @@
if r not in local_roles:
local_roles.append(r)
dict[userid] = local_roles
- self._p_changed=True
+ self._p_changed=True # No reassign -- might be a complex object
if REQUEST is not None:
stat='Your changes have been saved.'
return self.manage_listLocalRoles(self, REQUEST, stat=stat)
@@ -362,7 +362,7 @@
if dict is None:
self.__ac_local_roles__ = dict = {}
dict[userid]=roles
- self._p_changed=True
+ self._p_changed=True # No reassign -- might be a complex object
if REQUEST is not None:
stat='Your changes have been saved.'
return self.manage_listLocalRoles(self, REQUEST, stat=stat)
@@ -375,7 +375,7 @@
for userid in userids:
if dict.has_key(userid):
del dict[userid]
- self._p_changed=True
+ self._p_changed=True # No reassign -- might be a complex object
if REQUEST is not None:
stat='Your changes have been saved.'
return self.manage_listLocalRoles(self, REQUEST, stat=stat)
More information about the Zope-Checkins
mailing list