[ZODB-Dev] TypeError: unbound method beforeCompletion() must be called with Synchronizer instance as first argument (got Transaction instance instead)

2011-07-26 Thread Stéphane Klein
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,

Re: [ZODB-Dev] TypeError: unbound method beforeCompletion() must be called with Synchronizer instance as first argument (got Transaction instance instead)

2011-07-26 Thread Wichert Akkerman
On 07/26/2011 01:47 PM, Stéphane Klein wrote: 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):

Re: [ZODB-Dev] TypeError: unbound method beforeCompletion() must be called with Synchronizer instance as first argument (got Transaction instance instead)

2011-07-26 Thread Alexandru Plugaru
Hi Stéphane, I think you create an issue here: https://github.com/cguardia/ZODB-Documentation (or maybe even fix the example) Kind regards, Alex. On 26 July 2011 14:51, Stéphane Klein steph...@harobed.org wrote: Le 26/07/2011 13:48, Wichert Akkerman a écrit : On 07/26/2011 01:47 PM,

Re: [ZODB-Dev] TypeError: unbound method beforeCompletion() must be called with Synchronizer instance as first argument (got Transaction instance instead)

2011-07-26 Thread Stéphane Klein
Le 26/07/2011 13:58, Alexandru Plugaru a écrit : Hi Stéphane, I think you create an issue here: https://github.com/cguardia/ZODB-Documentation (or maybe even fix the example) Ok, I've fixed the code and executed an pull request on github.