[Zope3-checkins]
SVN: Zope3/branches/ZopeX3-3.0/src/zope/security/checker.py
Merged from trunk 26582:
Jim Fulton
jim at zope.com
Fri Jul 16 16:20:14 EDT 2004
Log message for revision 26595:
Merged from trunk 26582:
Unauthorized no-longer takes keyword arguments.
Changed:
U Zope3/branches/ZopeX3-3.0/src/zope/security/checker.py
-=-
Modified: Zope3/branches/ZopeX3-3.0/src/zope/security/checker.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/security/checker.py 2004-07-16 20:15:06 UTC (rev 26594)
+++ Zope3/branches/ZopeX3-3.0/src/zope/security/checker.py 2004-07-16 20:20:14 UTC (rev 26595)
@@ -135,7 +135,7 @@
return # allowed
else:
__traceback_supplement__ = (TracebackSupplement, object)
- raise Unauthorized(name=name, permission=permission)
+ raise Unauthorized(name, permission)
__traceback_supplement__ = (TracebackSupplement, object)
raise ForbiddenAttribute, (name, object)
@@ -150,7 +150,7 @@
return
else:
__traceback_supplement__ = (TracebackSupplement, object)
- raise Unauthorized(name=name, permission=permission)
+ raise Unauthorized(name, permission)
elif name in _always_available:
return
More information about the Zope3-Checkins
mailing list