[Zodb-checkins] SVN: ZODB/branches/anguenot-after_commit_hooks/src/transaction/_transaction.py Remove useless XXX

Julien Anguenot ja at nuxeo.com
Tue Dec 20 20:50:51 EST 2005


Log message for revision 40935:
  Remove useless XXX

Changed:
  U   ZODB/branches/anguenot-after_commit_hooks/src/transaction/_transaction.py

-=-
Modified: ZODB/branches/anguenot-after_commit_hooks/src/transaction/_transaction.py
===================================================================
--- ZODB/branches/anguenot-after_commit_hooks/src/transaction/_transaction.py	2005-12-21 01:47:22 UTC (rev 40934)
+++ ZODB/branches/anguenot-after_commit_hooks/src/transaction/_transaction.py	2005-12-21 01:50:51 UTC (rev 40935)
@@ -395,14 +395,12 @@
             self.status = Status.COMMITTED
         except:
             t, v, tb = self._saveAndGetCommitishError()
-            # XXX should we catch the exceptions ?
             self._callAfterCommitHooks(status=False)
             raise t, v, tb
         else:
             if self._manager:
                 self._manager.free(self)
             self._synchronizers.map(lambda s: s.afterCompletion(self))
-            # XXX should we catch the exceptions ?
             self._callAfterCommitHooks(status=True)
         self.log.debug("commit")
 



More information about the Zodb-checkins mailing list