equal
deleted
inserted
replaced
192 try: |
192 try: |
193 login, pwd = manager_userpasswd() |
193 login, pwd = manager_userpasswd() |
194 except (KeyboardInterrupt, EOFError): |
194 except (KeyboardInterrupt, EOFError): |
195 print 'aborting...' |
195 print 'aborting...' |
196 sys.exit(0) |
196 sys.exit(0) |
|
197 self.session.keep_pool_mode = 'transaction' |
197 return self._cnx |
198 return self._cnx |
198 |
199 |
199 @property |
200 @property |
200 def session(self): |
201 def session(self): |
201 return self.repo._get_session(self.cnx.sessionid) |
202 return self.repo._get_session(self.cnx.sessionid) |