Morten W. Petersen wrote:
Hi,

I'm having some code that bombs out trying to commit a transaction;  I
believe it's because of new ways of doing things in Zope 2.9..  how do
you call the equivalents of get_transaction().commit() and abort() in
Zope 2.9?  Will those new ways work with Zope 2.7/2.8?

import transaction
...

transaction.commit()
transaction.abort()

Although I think the old way should still work.  If it doesn't,
please report a bug.

Jim

--
Jim Fulton           mailto:[EMAIL PROTECTED]       Python Powered!
CTO                  (540) 361-1714            http://www.python.org
Zope Corporation     http://www.zope.com       http://www.zope.org
_______________________________________________
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )

Reply via email to