[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/securitypolicy/principalpermission.py Fixed bug causing a test failure. :/

Jim Fulton jim at zope.com
Fri Jul 9 09:49:04 EDT 2004


Log message for revision 26288:
Fixed bug causing a test failure. :/



-=-
Modified: Zope3/trunk/src/zope/app/securitypolicy/principalpermission.py
===================================================================
--- Zope3/trunk/src/zope/app/securitypolicy/principalpermission.py	2004-07-09 12:46:28 UTC (rev 26287)
+++ Zope3/trunk/src/zope/app/securitypolicy/principalpermission.py	2004-07-09 13:49:04 UTC (rev 26288)
@@ -153,7 +153,7 @@
 
     def getSetting(self, permission_id, principal_id):
         ''' See the interface IPrincipalPermissionManager '''
-        return self.getCell(permission_id, principal_id, default=Unset)
+        return self.queryCell(permission_id, principal_id, default=Unset)
 
     def getPrincipalsAndPermissions(self):
         ''' See the interface IPrincipalPermissionManager '''



More information about the Zope3-Checkins mailing list