[Zope-Checkins]
SVN: Zope/branches/2.10/lib/python/AccessControl/Role.py
Rest of patch for LP#245649.
Tres Seaver
tseaver at palladion.com
Sat Jul 5 21:14:07 EDT 2008
Log message for revision 88052:
Rest of patch for LP#245649.
Changed:
U Zope/branches/2.10/lib/python/AccessControl/Role.py
-=-
Modified: Zope/branches/2.10/lib/python/AccessControl/Role.py
===================================================================
--- Zope/branches/2.10/lib/python/AccessControl/Role.py 2008-07-06 01:12:15 UTC (rev 88051)
+++ Zope/branches/2.10/lib/python/AccessControl/Role.py 2008-07-06 01:14:06 UTC (rev 88052)
@@ -541,7 +541,8 @@
def possible_permissions(self):
d={}
- for p in Products.__ac_permissions__:
+ Products_permissions = getattr(Products, '__ac_permissions__', ())
+ for p in Products_permissions:
d[p[0]]=1
for p in self.aq_acquire('_getProductRegistryData')('ac_permissions'):
d[p[0]]=1
More information about the Zope-Checkins
mailing list