[Checkins] SVN:	ZODB/branches/jim-readCurrent/src/ZODB/POSException.py Be	more flexible about arguments.
    Jim Fulton 
    jim at zope.com
       
    Tue Aug 31 11:38:30 EDT 2010
    
    
  
Log message for revision 116065:
  Be more flexible about arguments.
  
Changed:
  U   ZODB/branches/jim-readCurrent/src/ZODB/POSException.py
-=-
Modified: ZODB/branches/jim-readCurrent/src/ZODB/POSException.py
===================================================================
--- ZODB/branches/jim-readCurrent/src/ZODB/POSException.py	2010-08-31 15:36:24 UTC (rev 116064)
+++ ZODB/branches/jim-readCurrent/src/ZODB/POSException.py	2010-08-31 15:38:29 UTC (rev 116065)
@@ -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 checkins
mailing list