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
8ad4cc3e
Commit
8ad4cc3e
authored
Aug 27, 1999
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Log conflct errors.
parent
85c1f020
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
lib/python/Zope/__init__.py
lib/python/Zope/__init__.py
+3
-1
No files found.
lib/python/Zope/__init__.py
View file @
8ad4cc3e
...
...
@@ -136,6 +136,7 @@ sys.modules['Main']=sys.modules['Zope']
import
ZODB.POSException
,
ZPublisher
,
string
,
ZPublisher
,
AccessControl
.
User
import
ExtensionClass
from
zLOG
import
LOG
,
INFO
def
debug
(
*
args
,
**
kw
):
return
apply
(
ZPublisher
.
test
,(
'Zope'
,)
+
args
,
kw
)
...
...
@@ -162,7 +163,8 @@ def zpublisher_exception_hook(
# do this by releasing the hold on it. There should be
# some sane protocol for this, but for now we'll use
# brute force:
REQUEST
.
_held
=
()
LOG
(
'Z2 CONFLICT'
,
INFO
,
'Conflict Error, %s'
%
REQUEST
.
get
(
'PATH_INFO'
,
''
))
raise
ZPublisher
.
Retry
if
(
getattr
(
REQUEST
.
get
(
'RESPONSE'
,
None
),
'_error_format'
,
''
)
...
...
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