From f2f210c37f3f566b2058b3decc93c958b6d2e184 Mon Sep 17 00:00:00 2001 From: Marc Bonnici Date: Wed, 24 Oct 2018 09:23:58 +0100 Subject: [PATCH] utils/postgres_convert: PEP8 fix Remove unused local variable. --- wa/utils/postgres_convert.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wa/utils/postgres_convert.py b/wa/utils/postgres_convert.py index 0f25b612..3a983204 100644 --- a/wa/utils/postgres_convert.py +++ b/wa/utils/postgres_convert.py @@ -32,7 +32,7 @@ import re try: from psycopg2 import InterfaceError from psycopg2.extensions import AsIs -except ImportError as e: +except ImportError: InterfaceError = None AsIs = None