changeset 9098 | 5467fb901931 |
parent 9097 | 39be1e548270 |
child 9099 | b7f7aa1b1123 |
--- a/repoapi.py Thu Jun 27 10:44:40 2013 +0200 +++ b/repoapi.py Wed Jun 26 11:21:39 2013 +0200 @@ -189,11 +189,7 @@ session object""" if not self._open: raise ProgrammingError('Closed connection %s' % self._cnxid) - self._cnx.set_cnxset() - try: - yield self._cnx - finally: - self._cnx.free_cnxset() + yield self._cnx # Main Connection purpose in life #########################################