server/sources/native.py
changeset 2611 0557f25682da
parent 2610 2933cc6bf9ad
child 2618 ff9b0d5bd884
--- a/server/sources/native.py	Fri Jul 31 23:58:53 2009 +0200
+++ b/server/sources/native.py	Sat Aug 01 00:00:29 2009 +0200
@@ -172,8 +172,7 @@
             self.check_connection = lambda cnx: cnx
             def pool_reset(cnx):
                 if cnx._cnx is not None:
-                    cnx._cnx.close()
-                    cnx._cnx = None
+                    cnx.close()
             self.pool_reset = pool_reset
 
     @property