repoapi.py
changeset 9058 2f45e99ad753
parent 9057 99cd4761aee6
child 9060 8c0016d7a091
--- a/repoapi.py	Fri Jun 21 15:25:47 2013 +0200
+++ b/repoapi.py	Fri Jun 21 15:26:03 2013 +0200
@@ -173,6 +173,10 @@
         with self._srv_cnx as cnx:
             rset = cnx.execute(*args, **kwargs)
         rset.req = self
+        # XXX keep the same behavior as the old dbapi
+        # otherwise multiple tests break.
+        # The little internet kitten is very sad about this situation.
+        rset._rqlst = None
         return rset
 
     commit = _srv_cnx_func('commit')