summaryrefslogtreecommitdiff
path: root/django/db/backends/postgresql/base.py
diff options
context:
space:
mode:
authorRamin Farajpour Cami <ramin.blackhat@gmail.com>2016-11-12 20:41:23 +0330
committerTim Graham <timograham@gmail.com>2016-11-14 12:30:46 -0500
commit967be82443b5640d61608a89897d8ce2bc44fa54 (patch)
tree9905e1156e27aa3d1226da3dde1223a5087b0d55 /django/db/backends/postgresql/base.py
parent6072de727f0ffa7bf0aa67aadba5d4589561974d (diff)
downloaddjango-967be82443b5640d61608a89897d8ce2bc44fa54.tar.gz
Fixed E305 flake8 warnings.
Diffstat (limited to 'django/db/backends/postgresql/base.py')
-rw-r--r--django/db/backends/postgresql/base.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/django/db/backends/postgresql/base.py b/django/db/backends/postgresql/base.py
index d188f37853..b4008532ee 100644
--- a/django/db/backends/postgresql/base.py
+++ b/django/db/backends/postgresql/base.py
@@ -28,6 +28,7 @@ def psycopg2_version():
version = psycopg2.__version__.split(' ', 1)[0]
return tuple(int(v) for v in version.split('.') if v.isdigit())
+
PSYCOPG2_VERSION = psycopg2_version()
if PSYCOPG2_VERSION < (2, 4, 5):