Log message for revision 88051:
  Rest of patch for LP#245649.

Changed:
  U   Zope/branches/2.11/lib/python/AccessControl/Role.py

-=-
Modified: Zope/branches/2.11/lib/python/AccessControl/Role.py
===================================================================
--- Zope/branches/2.11/lib/python/AccessControl/Role.py 2008-07-06 00:20:20 UTC 
(rev 88050)
+++ Zope/branches/2.11/lib/python/AccessControl/Role.py 2008-07-06 01:12:15 UTC 
(rev 88051)
@@ -603,7 +603,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

_______________________________________________
Zope-Checkins maillist  -  Zope-Checkins@zope.org
http://mail.zope.org/mailman/listinfo/zope-checkins

Reply via email to