Log message for revision 117589:
  Fixed an undefined name

Changed:
  U   Zope/branches/2.12/src/AccessControl/ZopeGuards.py

-=-
Modified: Zope/branches/2.12/src/AccessControl/ZopeGuards.py
===================================================================
--- Zope/branches/2.12/src/AccessControl/ZopeGuards.py  2010-10-17 11:31:08 UTC 
(rev 117588)
+++ Zope/branches/2.12/src/AccessControl/ZopeGuards.py  2010-10-17 11:31:50 UTC 
(rev 117589)
@@ -70,7 +70,7 @@
         return v
     if getSecurityManager().validate(object, object, None, v):
         return v
-    raise Unauthorized, 'unauthorized access to element %s' % `i`
+    raise Unauthorized('unauthorized access to element %s' % index)
 
 # Create functions using nested scope to store state
 # This is less expensive then instantiating and calling instances

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

Reply via email to