From: Mike Bayer Date: Tue, 26 Sep 2006 14:23:45 +0000 (+0000) Subject: commented out open cursor check, until resolution of [ticket:312] X-Git-Tag: rel_0_3_0~124 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ad6e099e84bf3100a8efa16d2c021304dce5d9a;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git commented out open cursor check, until resolution of [ticket:312] --- diff --git a/lib/sqlalchemy/pool.py b/lib/sqlalchemy/pool.py index 3d8f8279f5..2b9ecb2505 100644 --- a/lib/sqlalchemy/pool.py +++ b/lib/sqlalchemy/pool.py @@ -206,8 +206,8 @@ class _ConnectionFairy(object): def __del__(self): self._close() def _close(self): - if self.cursors is not None and len(self.cursors): - raise exceptions.InvalidRequestError("This connection still has %d open cursors" % len(self.cursors)) +# if self.cursors is not None and len(self.cursors): +# raise exceptions.InvalidRequestError("This connection still has %d open cursors" % len(self.cursors)) if self.connection is not None: try: self.connection.rollback()