[dbapi] explicitly use the DBAPI version of CubicwebRequestBase
As we plan to use a ConnectionCubicwebRequestBase by default we better have the
dbapi explicitly asking for a DBAPI implementation.
--- 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)