diff options
author | Ramin Farajpour Cami <ramin.blackhat@gmail.com> | 2016-11-12 20:41:23 +0330 |
---|---|---|
committer | Tim Graham <timograham@gmail.com> | 2016-11-14 12:30:46 -0500 |
commit | 967be82443b5640d61608a89897d8ce2bc44fa54 (patch) | |
tree | 9905e1156e27aa3d1226da3dde1223a5087b0d55 /django/db/backends/postgresql/base.py | |
parent | 6072de727f0ffa7bf0aa67aadba5d4589561974d (diff) | |
download | django-967be82443b5640d61608a89897d8ce2bc44fa54.tar.gz |
Fixed E305 flake8 warnings.
Diffstat (limited to 'django/db/backends/postgresql/base.py')
-rw-r--r-- | django/db/backends/postgresql/base.py | 1 |
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): |