Bug in rollback
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
web.py |
Fix Released
|
Undecided
|
Anand Chitipothu |
Bug Description
The effect of this bug is that you can't do:
import web
web.connect(...)
web.rollback() # gives an error like it should
web.transact() # you can't continue to do this now. An error results
The patch is:
=== modified file 'web/db.py'
--- web/db.py 2007-09-29 12:33:02 +0000
+++ web/db.py 2007-12-18 22:29:33 +0000
@@ -589,7 +589,7 @@
"""Rolls back a transaction."""
if self.ctx.
- self.db_transaction = 0
+ self.web.
if care:
else:
version: all versions up to current head which is r204
Changed in webpy: | |
status: | Fix Committed → Fix Released |
already fixed in webpy-0.23 branch.
duplicate of bug#125118