Correct exausted -> exhausted typo

This commit is contained in:
Erik Lee 2014-11-17 16:40:53 +00:00 committed by Daniele Varrazzo
parent 141e922d80
commit e39bf0fd6e

View File

@ -86,7 +86,7 @@ class AbstractConnectionPool(object):
return conn return conn
else: else:
if len(self._used) == self.maxconn: if len(self._used) == self.maxconn:
raise PoolError("connection pool exausted") raise PoolError("connection pool exhausted")
return self._connect(key) return self._connect(key)
def _putconn(self, conn, key=None, close=False): def _putconn(self, conn, key=None, close=False):