[Zope3-checkins]
SVN: Zope3/branches/ZopeX3-3.0/src/zope/app/security/permission.py
Merged changes from trunk revision 26695
Dmitry Vasiliev
dima at hlabs.spb.ru
Fri Jul 23 05:39:13 EDT 2004
Log message for revision 26698:
Merged changes from trunk revision 26695
Changed:
U Zope3/branches/ZopeX3-3.0/src/zope/app/security/permission.py
-=-
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/security/permission.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/security/permission.py 2004-07-23 09:38:08 UTC (rev 26697)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/security/permission.py 2004-07-23 09:39:13 UTC (rev 26698)
@@ -48,7 +48,7 @@
>>> tearDown()
"""
- if permission_id == CheckerPublic:
+ if permission_id is CheckerPublic:
return
if not zapi.queryUtility(IPermission, permission_id, context=context):
raise ValueError("Undefined permission id", permission_id)
More information about the Zope3-Checkins
mailing list