Skip to content

Commit 0b651e2

Browse files
committed
Remove disable=redefined-variable-type
redefined-variable-type is no longer a check in the newest pylint.
1 parent a8c48e6 commit 0b651e2

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

maxminddb/reader.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ def __init__(self, database, mode=MODE_AUTO):
4545
* MODE_MEMORY - load database into memory.
4646
* MODE_AUTO - tries MODE_MMAP and then MODE_FILE. Default.
4747
"""
48-
# pylint: disable=redefined-variable-type
4948
if (mode == MODE_AUTO and mmap) or mode == MODE_MMAP:
5049
with open(database, 'rb') as db_file:
5150
self._buffer = mmap.mmap(

0 commit comments

Comments
 (0)