dbapi.py
changeset 9067 262d7874c6c7
parent 9046 6fb3f0106301
child 9126 e0b63ea2c65b
--- a/dbapi.py	Mon Jun 24 18:33:41 2013 +0200
+++ b/dbapi.py	Tue Jun 25 10:45:44 2013 +0200
@@ -603,8 +603,8 @@
 
     def request(self):
         if self._web_request:
-            from cubicweb.web.request import CubicWebRequestBase
-            req = CubicWebRequestBase(self.vreg, False)
+            from cubicweb.web.request import DBAPICubicWebRequestBase
+            req = DBAPICubicWebRequestBase(self.vreg, False)
             req.get_header = lambda x, default=None: default
             req.set_session = lambda session: DBAPIRequest.set_session(
                 req, session)