[ZODB-Dev] Re: SVN:
ZODB/branches/anguenot-ordering-beforecommitsubscribers/src/transaction/
Implements the ordering of before commit subscribers :
Florent Guillaume
fg at nuxeo.com
Mon Aug 8 12:38:05 EDT 2005
Julien Anguenot wrote:
> + def beforeCommitHookOrdered(hook, order, *args, **kws):
> + """Register a hook to call before the transaction is committed.
...
> + Note, a hook __call__() method can't define any 'order' argument since
> + this one is reserved by this method
>
If that's a concern, maybe it can be called order__ or something ? What's
the pythonic way to do this ?
Florent
--
Florent Guillaume, Nuxeo (Paris, France) CTO, Director of R&D
+33 1 40 33 71 59 http://nuxeo.com fg at nuxeo.com
More information about the ZODB-Dev
mailing list