[Zope3-checkins] SVN: Zope3/trunk/src/zope/security/checker.py Unauthorized no-longer takes keyword arguments.

Jim Fulton jim at zope.com
Fri Jul 16 12:04:55 EDT 2004


Log message for revision 26582:
  Unauthorized no-longer takes keyword arguments.
  


Changed:
  U   Zope3/trunk/src/zope/security/checker.py


-=-
Modified: Zope3/trunk/src/zope/security/checker.py
===================================================================
--- Zope3/trunk/src/zope/security/checker.py	2004-07-16 15:44:37 UTC (rev 26581)
+++ Zope3/trunk/src/zope/security/checker.py	2004-07-16 16:04:54 UTC (rev 26582)
@@ -136,7 +136,7 @@
                 return
             else:
                 __traceback_supplement__ = (TracebackSupplement, object)
-                raise Unauthorized(name=name, permission=permission)
+                raise Unauthorized(name, permission)
 
         __traceback_supplement__ = (TracebackSupplement, object)
         raise ForbiddenAttribute, (name, object)
@@ -153,7 +153,7 @@
                 return
             else:
                 __traceback_supplement__ = (TracebackSupplement, object)
-                raise Unauthorized(name=name, permission=permission)
+                raise Unauthorized(name, permission)
         elif name in _available_by_default:
             return
 



More information about the Zope3-Checkins mailing list