[Zope] transaction.begin() ??
Dieter Maurer
dieter at handshake.de
Fri Jun 16 14:22:47 EDT 2006
robert rottermann wrote at 2006-6-16 10:03 +0200:
>in a unittest I use transaction.begin() as follows:
>
>import transaction
>transaction.get().begin()
>
>I then get the following error:
>AttributeError: 'Transaction' object has no attribute 'begin'
>
>when I look at the code I am unsure whether transaction should have a
>begin method.
>
>If it does not exist anymore, by what is the method replaced?
It moved from the transaction to the transaction manager (what is
resonable, as "begin" starts a *NEW* transaction).
--
Dieter
More information about the Zope
mailing list