diff options
author | Christian Goetze <cg@lindenlab.com> | 2007-12-01 01:29:28 +0000 |
---|---|---|
committer | Christian Goetze <cg@lindenlab.com> | 2007-12-01 01:29:28 +0000 |
commit | 7b7dd4e6f61aa731ef7f9f255014f5b76d5b9fec (patch) | |
tree | 08bf4cb9354f975940b83cd695a2aa8bb8d74870 /indra/lib/python/indra/ipc | |
parent | 5c53c187fff573ef73a643949b3bded1084b0983 (diff) |
svn merge -r74808:74832 svn+ssh://svn/svn/linden/branches/qa-dpo-9a
Diffstat (limited to 'indra/lib/python/indra/ipc')
-rw-r--r-- | indra/lib/python/indra/ipc/mysql_pool.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/lib/python/indra/ipc/mysql_pool.py b/indra/lib/python/indra/ipc/mysql_pool.py index 4a265a1f2e..6288a4c732 100644 --- a/indra/lib/python/indra/ipc/mysql_pool.py +++ b/indra/lib/python/indra/ipc/mysql_pool.py @@ -97,7 +97,7 @@ class ConnectionPool(Pool): except (AttributeError, DeadProcess), e: conn = self.create() # TODO figure out if we're still connected to the database - if conn: + if conn is not None: Pool.put(self, conn) else: self.current_size -= 1 |