[Zodb-checkins] SVN: ZODB/trunk/src/ZODB/POSException.py Be more flexible about arguments.
Jim Fulton
jim at zope.com
Thu Sep 2 09:55:25 EDT 2010
Log message for revision 116131:
Be more flexible about arguments.
Changed:
U ZODB/trunk/src/ZODB/POSException.py
-=-
Modified: ZODB/trunk/src/ZODB/POSException.py
===================================================================
--- ZODB/trunk/src/ZODB/POSException.py 2010-09-02 13:55:22 UTC (rev 116130)
+++ ZODB/trunk/src/ZODB/POSException.py 2010-09-02 13:55:24 UTC (rev 116131)
@@ -161,11 +161,11 @@
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."""
More information about the Zodb-checkins
mailing list