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