[WIP] rev me

bzr revid: chm@openerp.com-20140318153525-uhimflitcgk16rlk
This commit is contained in:
chm@openerp.com
2014-03-18 16:35:25 +01:00
parent bbca8bd17e
commit c0a97887b4
+3
View File
@@ -216,6 +216,9 @@ class WebRequest(object):
# The decorator can call us more than once if there is an database error. In this
# case, the request cursor is unusable. Rollback transaction to create a new one.
if self._cr:
print ""
print "rollback http.py checked_call"
print ""
self._cr.rollback()
return self.endpoint(*a, **kw)