branch | stable |
changeset 5786 | 7c16a4e7a592 |
parent 5785 | c0661b963ced |
child 5811 | e77cea9721e7 |
child 5813 | 0b250d72fcfa |
--- a/devtools/testlib.py Fri Jun 18 09:07:41 2010 +0200 +++ b/devtools/testlib.py Fri Jun 18 09:25:01 2010 +0200 @@ -335,7 +335,7 @@ def restore_connection(self): if not self.cnx is self._orig_cnx[0]: - if not cnx._closed: + if not self.cnx._closed: self.cnx.close() try: self._cnxs.remove(self.cnx)