[Zope3-checkins] CVS: Zope3/src/zope/app/mail - service.py:1.8.10.1
Jim Fulton
jim at zope.com
Fri Jan 23 13:25:15 EST 2004
Update of /cvs-repository/Zope3/src/zope/app/mail
In directory cvs.zope.org:/tmp/cvs-serv9310/src/zope/app/mail
Modified Files:
Tag: zope3-zodb3-devel-branch
service.py
Log Message:
Fixed the savepoint implementation to be consistent with
IDataManager. The savepoint method must retuen an IRollback.
=== Zope3/src/zope/app/mail/service.py 1.8 => 1.8.10.1 ===
--- Zope3/src/zope/app/mail/service.py:1.8 Mon Sep 22 18:37:23 2003
+++ Zope3/src/zope/app/mail/service.py Fri Jan 23 13:25:14 2004
@@ -32,6 +32,7 @@
from zope.app.mail.maildir import Maildir
from transaction.interfaces import IDataManager
from transaction import get_transaction
+from transaction.util import NoSavepointSupportRollback
__metaclass__ = type
@@ -56,7 +57,7 @@
self.callable(*self.args)
def savepoint(self, transaction):
- pass
+ return NoSavepointSupportRollback(self)
class AbstractMailService:
More information about the Zope3-Checkins
mailing list