[Zope-Checkins] SVN: Zope/trunk/src/Zope2/App/startup.py Merged r101181 from branches/2.12
Hanno Schlichting
hannosch at hannosch.eu
Sat Jun 20 20:01:25 EDT 2009
Log message for revision 101182:
Merged r101181 from branches/2.12
Changed:
U Zope/trunk/src/Zope2/App/startup.py
-=-
Modified: Zope/trunk/src/Zope2/App/startup.py
===================================================================
--- Zope/trunk/src/Zope2/App/startup.py 2009-06-21 00:00:53 UTC (rev 101181)
+++ Zope/trunk/src/Zope2/App/startup.py 2009-06-21 00:01:24 UTC (rev 101182)
@@ -24,6 +24,7 @@
from time import asctime
from types import StringType, ListType
from zExceptions import Redirect
+from zExceptions import Unauthorized
from ZODB.POSException import ConflictError
import transaction
import AccessControl.User
@@ -170,7 +171,7 @@
if t.lower() in ('unauthorized', 'redirect'):
raise
else:
- if t is SystemExit or t is Redirect:
+ if t is SystemExit or t is Redirect or t is Unauthorized:
raise
if issubclass(t, ConflictError):
More information about the Zope-Checkins
mailing list