mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-26 02:43:43 +03:00
Correct exausted -> exhausted typo
This commit is contained in:
parent
141e922d80
commit
e39bf0fd6e
|
@ -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):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user