Hi, I've this in my source code :
from zope.interface import implements from transaction.interfaces import ISynchronizer class Synchronizer(object): implements(ISynchronizer) def beforeCompletion(self, transaction): print("beforeCompletion") def afterCompletion(self, transaction): print("afterCompletion", transaction) def newTransaction(self, transaction): print("newTransaction", transaction) ... transaction.manager.registerSynch(Synchronizer) ... transaction.commit() and I've this error message : TypeError: unbound method beforeCompletion() must be called with Synchronizer instance as first argument (got Transaction instance instead) I don't understand, my Synchronizer class match API. Thanks for your help. Regards, Stephane -- Stéphane Klein <steph...@harobed.org> blog: http://stephane-klein.info Twitter: http://twitter.com/klein_stephane pro: http://www.is-webdesign.com _______________________________________________ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@zope.org https://mail.zope.org/mailman/listinfo/zodb-dev