repoapi.py
changeset 10087 ed0b076c119b
parent 9813 c20956f5862d
child 10235 684215aca046
equal deleted inserted replaced
10086:98bc2ca1a816 10087:ed0b076c119b
   210         # Connection yet so we use this trick to unsure the session have the
   210         # Connection yet so we use this trick to unsure the session have the
   211         # proper cnx loaded. This can be simplified one we have Standalone
   211         # proper cnx loaded. This can be simplified one we have Standalone
   212         # Connection object
   212         # Connection object
   213         rset = self._cnx.execute(*args, **kwargs)
   213         rset = self._cnx.execute(*args, **kwargs)
   214         rset.req = self
   214         rset.req = self
   215         # XXX keep the same behavior as the old dbapi
       
   216         # otherwise multiple tests break.
       
   217         # The little internet kitten is very sad about this situation.
       
   218         rset._rqlst = None
       
   219         return rset
   215         return rset
   220 
   216 
   221     @_open_only
   217     @_open_only
   222     def commit(self, *args, **kwargs):
   218     def commit(self, *args, **kwargs):
   223         try:
   219         try: