Commit 85040239 authored by Fantix King's avatar Fantix King Committed by Denis Bilenko

psycopg2_pool.py: fix pyflakes on PY3

parent bb11c1bb
...@@ -11,7 +11,8 @@ from psycopg2 import extensions, OperationalError, connect ...@@ -11,7 +11,8 @@ from psycopg2 import extensions, OperationalError, connect
if sys.version_info[0] >= 3: if sys.version_info[0] >= 3:
integer_types = int, integer_types = int,
else: else:
integer_types = int, long import __builtin__
integer_types = int, __builtin__.long
def gevent_wait_callback(conn, timeout=None): def gevent_wait_callback(conn, timeout=None):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment