dbapi.py
changeset 5364 e0feefb87de5
parent 5359 d83a227df75c
child 5423 e15abfdcce38
--- a/dbapi.py	Tue Apr 20 18:34:07 2010 +0200
+++ b/dbapi.py	Tue Apr 20 18:34:37 2010 +0200
@@ -423,7 +423,8 @@
         if eid_key is not None:
             warn('[3.8] eid_key is deprecated, you can safely remove this argument',
                  DeprecationWarning, stacklevel=2)
-        rset = self._repo.execute(self._sessid, rql, args, build_descr)
+        # XXX use named argument for build_descr in case repo is < 3.8
+        rset = self._repo.execute(self._sessid, rql, args, build_descr=build_descr)
         rset.req = self.req
         return rset