zopefoundation / transaction

Generic transaction implementation for Python.
Other
70 stars 31 forks source link

Corrected ITransaction: removed beforeCommitHook and 2 misplaced 'self' parameters #22

Closed hathawsh closed 8 years ago

hathawsh commented 8 years ago

ITransaction had two misplaced 'self' parameters. I removed them. Also, Transaction no longer implements the long-deprecated beforeCommitHook method, so I removed it from the interface. I added new tests to verify the implementation of the interface.

tseaver commented 8 years ago

@hathawsh Thanks for the patch!