16 Jun
2006
16 Jun
'06
6:22 p.m.
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