[prev in list] [next in list] [prev in thread] [next in thread]
List: zope3-checkins
Subject: [Zope3-checkins] SVN: Zope3/trunk/src/zodbcode/tests/test_class.py
From: Jim Fulton <jim () zope ! com>
Date: 2007-05-12 16:01:09
Message-ID: 20070512160109.752F7203882 () mail ! zope ! org
[Download RAW message or body]
Log message for revision 75707:
Changed _load_path to use a separate transaction manager rather than
the no-longer supports synch argument to open to avoid effects from
the thread-global transaction manager.
Changed:
U Zope3/trunk/src/zodbcode/tests/test_class.py
-=-
Modified: Zope3/trunk/src/zodbcode/tests/test_class.py
===================================================================
--- Zope3/trunk/src/zodbcode/tests/test_class.py 2007-05-12 15:11:31 UTC (rev 75706)
+++ Zope3/trunk/src/zodbcode/tests/test_class.py 2007-05-12 16:01:08 UTC (rev 75707)
@@ -30,7 +30,8 @@
def _load_path(self, path):
# Load an object from a new connection given a database path.
- root = self.db.open(synch=False).root()
+ tm = transaction.TransactionManager()
+ root = self.db.open(transaction_manager=tm).root()
obj = root
for part in path.split("."):
try:
_______________________________________________
Zope3-Checkins mailing list
Zope3-Checkins@zope.org
http://mail.zope.org/mailman/listinfo/zope3-checkins
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic