We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 168b699 commit ff4168cCopy full SHA for ff4168c
maxminddb/__init__.py
@@ -5,9 +5,9 @@
5
if os.environ.get('MAXMINDDB_PURE_PYTHON') == '1':
6
raise ImportError()
7
from maxminddb.extension import Reader, InvalidDatabaseError
8
-except ImportError as e:
+except ImportError as import_error:
9
if os.environ.get('MAXMINDDB_PURE_PYTHON') == '0':
10
- raise e
+ raise import_error
11
from maxminddb.decoder import InvalidDatabaseError
12
from maxminddb.reader import Reader
13
0 commit comments