SVN: ZODB/trunk/src/ZODB/POSException.py Be more flexible about arguments.

Jim Fulton <[email protected]>
Newsgroups gmane.comp.python.zope.zodb.cvs
Message-ID <20100902135525.1C8AE941DF__4681.85790018669$1283435738$gmane$org@cvs.zope.org>
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."""
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.