Skip to content

Commit ff4168c

Browse files
committed
Make pylint happy
1 parent 168b699 commit ff4168c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

maxminddb/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
if os.environ.get('MAXMINDDB_PURE_PYTHON') == '1':
66
raise ImportError()
77
from maxminddb.extension import Reader, InvalidDatabaseError
8-
except ImportError as e:
8+
except ImportError as import_error:
99
if os.environ.get('MAXMINDDB_PURE_PYTHON') == '0':
10-
raise e
10+
raise import_error
1111
from maxminddb.decoder import InvalidDatabaseError
1212
from maxminddb.reader import Reader
1313

0 commit comments

Comments
 (0)