[Zope3-checkins] CVS: ZODB/src/ZODB - Connection.py:1.150

Jeremy Hylton jeremy at zope.com
Fri Apr 16 10:19:13 EDT 2004


Update of /cvs-repository/ZODB/src/ZODB
In directory cvs.zope.org:/tmp/cvs-serv21886

Modified Files:
	Connection.py 
Log Message:
Make the warning match the method name.


=== ZODB/src/ZODB/Connection.py 1.149 => 1.150 ===
--- ZODB/src/ZODB/Connection.py:1.149	Thu Apr 15 21:08:12 2004
+++ ZODB/src/ZODB/Connection.py	Fri Apr 16 10:19:11 2004
@@ -266,7 +266,7 @@
         can pass a transaction manager (TM) to DB.open() to control
         which TM the Connection uses.
         """
-        warnings.warn("getTransaction() is deprecated. "
+        warnings.warn("setLocalTransaction() is deprecated. "
                       "Use the txn_mgr argument to DB.open() instead.",
                       DeprecationWarning)
         if self._txn_mgr is transaction.manager:




More information about the Zope3-Checkins mailing list