[Mpuls-commits] r5551 - base/trunk/mpulsweb/lib
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Fri Nov 4 20:43:25 CET 2011
Author: bh
Date: 2011-11-04 20:43:25 +0100 (Fri, 04 Nov 2011)
New Revision: 5551
Modified:
base/trunk/mpulsweb/lib/db.py
Log:
Fix typo in example doc-string.
Modified: base/trunk/mpulsweb/lib/db.py
===================================================================
--- base/trunk/mpulsweb/lib/db.py 2011-11-04 19:42:59 UTC (rev 5550)
+++ base/trunk/mpulsweb/lib/db.py 2011-11-04 19:43:25 UTC (rev 5551)
@@ -123,7 +123,7 @@
def transaction(self):
"""Return a context manager for performing a block within a transaction.
Example usage:
- with db.transation() as cur:
+ with db.transaction() as cur:
cur.execute("UPDATE foo ...")
...
More information about the Mpuls-commits
mailing list