-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 [EMAIL PROTECTED] wrote: > In my custom Zope Product (in python), get_transaction().commit() halts > execution (without throwing an exception). > > Is this the proper behavior?
Nope. > If it is, then how do you commit what you've done so far without halting > execution? The 'get_transaction' bit has been deprecated in recent versions of ZODB / Zope. The equivlaent non-deprecated spelling is:: import transaction transaction.commit() > And, if not, what would cause it to halt execution? I've never seen such a thing. Is there anything at all in your logfiles which provdes a clue? If all else fails, you could set a breakpoint just before the 'commit' call and try stepping over /into it. Tres. - -- =================================================================== Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion Software "Excellence by Design" http://palladion.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFE/qva+gerLs4ltQ4RAjzjAKDLZT08oqS554CIh2gpWHwWzh2nVwCgxCmt VWs4x+VOV+zikJsYuel3tmE= =1WmK -----END PGP SIGNATURE----- _______________________________________________ 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 )