From a2814846ca006b4fbf3a893ec52cd9d444b3a3eb Mon Sep 17 00:00:00 2001 From: Loic Bistuer Date: Mon, 9 Dec 2013 00:20:06 +0700 Subject: Fixed E124 pep8 warnings. --- django/db/backends/postgresql_psycopg2/base.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'django/db/backends/postgresql_psycopg2/base.py') diff --git a/django/db/backends/postgresql_psycopg2/base.py b/django/db/backends/postgresql_psycopg2/base.py index cb23c33a5c..91e16a1b76 100644 --- a/django/db/backends/postgresql_psycopg2/base.py +++ b/django/db/backends/postgresql_psycopg2/base.py @@ -168,7 +168,8 @@ class DatabaseWrapper(BaseDatabaseWrapper): # notification. If we don't set self.connection to None, the error # will occur a every request. self.connection = None - logger.warning('psycopg2 error while closing the connection.', + logger.warning( + 'psycopg2 error while closing the connection.', exc_info=sys.exc_info() ) raise -- cgit v1.3