Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
d1ee7b14
Commit
d1ee7b14
authored
Jul 28, 2007
by
Hanno Schlichting
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
If we are going in circles without getting the error_message just raise
parent
1f8da645
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
lib/python/Zope2/App/startup.py
lib/python/Zope2/App/startup.py
+4
-1
No files found.
lib/python/Zope2/App/startup.py
View file @
d1ee7b14
...
@@ -18,6 +18,7 @@ from AccessControl.SecurityManagement import getSecurityManager
...
@@ -18,6 +18,7 @@ from AccessControl.SecurityManagement import getSecurityManager
from
AccessControl.SecurityManagement
import
newSecurityManager
from
AccessControl.SecurityManagement
import
newSecurityManager
from
AccessControl.SecurityManagement
import
noSecurityManager
from
AccessControl.SecurityManagement
import
noSecurityManager
from
Acquisition
import
aq_acquire
from
Acquisition
import
aq_acquire
from
Acquisition
import
aq_base
from
Acquisition
import
aq_inner
from
Acquisition
import
aq_inner
from
Acquisition
import
aq_parent
from
Acquisition
import
aq_parent
from
App.config
import
getConfiguration
from
App.config
import
getConfiguration
...
@@ -239,7 +240,9 @@ class ZPublisherExceptionHook:
...
@@ -239,7 +240,9 @@ class ZPublisherExceptionHook:
if
getattr
(
client
,
self
.
error_message
,
None
)
is
not
None
:
if
getattr
(
client
,
self
.
error_message
,
None
)
is
not
None
:
break
break
client
=
aq_parent
(
client
)
client
=
aq_parent
(
client
)
if
client
is
None
:
# If we are going in circles without getting the error_message
# just raise
if
client
is
None
or
aq_base
(
client
)
is
aq_base
(
published
):
raise
t
,
v
,
traceback
raise
t
,
v
,
traceback
if
REQUEST
.
get
(
'AUTHENTICATED_USER'
,
None
)
is
None
:
if
REQUEST
.
get
(
'AUTHENTICATED_USER'
,
None
)
is
None
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment