Thread: [SQL-CVS] r1223 - SQLObject/trunk/sqlobject
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: <sub...@co...> - 2005-11-04 08:05:49
|
Author: ianb Date: 2005-11-04 08:05:40 +0000 (Fri, 04 Nov 2005) New Revision: 1223 Modified: SQLObject/trunk/sqlobject/dbconnection.py Log: Fix doc string for pudge Modified: SQLObject/trunk/sqlobject/dbconnection.py =================================================================== --- SQLObject/trunk/sqlobject/dbconnection.py 2005-11-04 08:05:17 UTC (rev 1222) +++ SQLObject/trunk/sqlobject/dbconnection.py 2005-11-04 08:05:40 UTC (rev 1223) @@ -914,8 +914,10 @@ """ This routine can be used to run a function in a transaction, rolling the transaction back if any exception is raised from - that function, and committing otherwise. Use like:: + that function, and committing otherwise. + Use like:: + sqlhub.doInTransaction(process_request, os.environ) This will run ``process_request(os.environ)``. The return |