[Zope3-checkins] SVN: Zope3/branches/ZopeX3-3.0.0-Zope-2.8/src/zope/app/mail/delivery.py IDataManager is growing a public .transaction_manager

Tim Peters tim.one at comcast.net
Fri May 27 16:19:46 EDT 2005


Log message for revision 30541:
  IDataManager is growing a public .transaction_manager
  attribute in ZODB 3.4, so this must supply it.
  

Changed:
  U   Zope3/branches/ZopeX3-3.0.0-Zope-2.8/src/zope/app/mail/delivery.py

-=-
Modified: Zope3/branches/ZopeX3-3.0.0-Zope-2.8/src/zope/app/mail/delivery.py
===================================================================
--- Zope3/branches/ZopeX3-3.0.0-Zope-2.8/src/zope/app/mail/delivery.py	2005-05-27 20:16:09 UTC (rev 30540)
+++ Zope3/branches/ZopeX3-3.0.0-Zope-2.8/src/zope/app/mail/delivery.py	2005-05-27 20:19:16 UTC (rev 30541)
@@ -42,6 +42,8 @@
         self.callable = callable
         self.args = args
         self.onAbort = onAbort
+        # Use the default thread transaction manager.
+        self.transaction_manager = transaction.manager
 
     def commit(self, transaction):
         self.callable(*self.args)



More information about the Zope3-Checkins mailing list