Kapil Thangavelu wrote:
> Glancing over the Transaction TM mixin class... i noticed a line
> i can understand tpc_begin=commit, but the abort seems strange.
> if an abort happens in the two phase commit the equality doesn't
> make sense to me.
> whats going on here? Is this meant to be overidden?
Yes. Override the methods that you need to. The rest are given a
no-operation default implementation.
The class more or less defines an interface.
def tpc_begin(self, *ignored): pass
The assignment you see is just a short-hand way of saying that commit,
tpc_abort and tpc_begin have the same method signature and the same
Zope-Dev maillist - [EMAIL PROTECTED]
** No cross posts or HTML encoding! **
(Related lists -