[Zodb-checkins] CVS: Zope3/src/zodb - connection.py:1.28

Tim Peters tim.one@comcast.net
Wed, 2 Apr 2003 14:50:26 -0500


Update of /cvs-repository/Zope3/src/zodb
In directory cvs.zope.org:/tmp/cvs-serv403/src/zodb

Modified Files:
	connection.py 
Log Message:
"-g integer" wasn't working; fixed.


=== Zope3/src/zodb/connection.py 1.27 => 1.28 ===
--- Zope3/src/zodb/connection.py:1.27	Tue Apr  1 15:57:46 2003
+++ Zope3/src/zodb/connection.py	Wed Apr  2 14:50:25 2003
@@ -70,8 +70,9 @@
 
     __implements__ = (IAppConnection, IConnection, IPersistentDataManager,
                       IDataManager)
-
-    def __init__(self, db, storage, version='', cache_size=400):
+ 
+    def __init__(self, db, storage, version='', cache_size=400): 
+        print '__init__', id(self)
         self._db = db
         self._storage = storage
         self._version = version
@@ -116,6 +117,7 @@
 
         # new_oid is used by serialize
         self.newObjectId = self._storage.newObjectId
+        print '__init__ done', id(self)
 
     def _get_transaction(self):
         # Return the transaction currently active.
@@ -287,8 +289,9 @@
     ######################################################################
     # transaction.interfaces.IDataManager requires the next four methods
     # prepare(), abort(), commit(), savepoint()
-
+ 
     def prepare(self, txn):
+        print "prepare %d" % id(self)
         if self._conflicts:
             # XXX should raise all of the conflicting oids, but
             # haven't gotten around to changing the exception