Thanks tjd for catching this poor except clause.

This commit is contained in:
Ryan Williams
2010-02-11 10:51:43 -08:00
parent e2088e4550
commit 3d2c8b198e

View File

@@ -82,7 +82,7 @@ class BaseConnectionPool(Pool):
age_delay = (oldest - now) + self.max_age
next_delay = min(idle_delay, age_delay)
except IndexError, ValueError:
except (IndexError, ValueError):
# no free items, unschedule ourselves
self._expiration_timer = None
return