summaryrefslogtreecommitdiff
path: root/lib/pool.py
diff options
context:
space:
mode:
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>2017-06-15 10:11:48 +0100
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>2017-06-15 10:11:48 +0100
commit23476b966962bbf34c5b06cd8b3b778382c6f777 (patch)
treeb2f0301fb554b94b7170f0c6c325353ebb138c4e /lib/pool.py
parent975182ace0314db3da2d53d024fdd71a6fb66d7b (diff)
downloadpsycopg2-bug-550.tar.gz
Use an import style reported not broken on Python 3.6bug-550
Couldn't reproduce the issue but it has been documented in #550.
Diffstat (limited to 'lib/pool.py')
-rw-r--r--lib/pool.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pool.py b/lib/pool.py
index e57875c..a91c9cc 100644
--- a/lib/pool.py
+++ b/lib/pool.py
@@ -25,7 +25,7 @@ This module implements thread-safe (and not) connection pools.
# License for more details.
import psycopg2
-import psycopg2.extensions as _ext
+from psycopg2 import extensions as _ext
class PoolError(psycopg2.Error):