Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZODB
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
Nicolas Wavrant
ZODB
Commits
82c3c0fe
Commit
82c3c0fe
authored
Sep 02, 2010
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Be more flexible about arguments.
parent
cc673003
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/ZODB/POSException.py
src/ZODB/POSException.py
+2
-2
No files found.
src/ZODB/POSException.py
View file @
82c3c0fe
...
...
@@ -161,11 +161,11 @@ class ReadConflictError(ConflictError):
An attempt was made to read an object that has changed in another
transaction (eg. another thread or process).
"""
def
__init__
(
self
,
message
=
None
,
object
=
None
,
serials
=
None
):
def
__init__
(
self
,
message
=
None
,
object
=
None
,
serials
=
None
,
**
kw
):
if
message
is
None
:
message
=
"database read conflict error"
ConflictError
.
__init__
(
self
,
message
=
message
,
object
=
object
,
serials
=
serials
)
serials
=
serials
,
**
kw
)
class
BTreesConflictError
(
ConflictError
):
"""A special subclass for BTrees conflict errors."""
...
...
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