[prev in list] [next in list] [prev in thread] [next in thread]
List: zope-cvs
Subject: [Zope-Checkins]
From: Tres Seaver <tseaver () palladion ! com>
Date: 2008-07-06 1:12:16
Message-ID: 20080706011216.86744399E8 () mail ! zope ! org
[Download RAW message or body]
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic