server/session.py
branchstable
changeset 5791 274a5a6080a7
parent 5701 41119f034735
child 5792 e13aa4786a72
--- a/server/session.py	Fri Jun 18 13:32:54 2010 +0200
+++ b/server/session.py	Fri Jun 18 14:56:01 2010 +0200
@@ -285,7 +285,7 @@
             return source.doexec(self, sql, args, rollback=rollback_on_failure)
         except (source.OperationalError, source.InterfaceError):
             source.warning("trying to reconnect")
-            self.pool.reconnect(self)
+            self.pool.reconnect(source)
             return source.doexec(self, sql, args, rollback=rollback_on_failure)
 
     def set_language(self, language):