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
_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to