about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authortoonn <toonn@toonn.io>2022-02-05 19:29:45 +0100
committertoonn <toonn@toonn.io>2022-02-05 19:29:45 +0100
commit71e23b227e8b018968b927a9e9f1837c4b4234ff (patch)
treec76f6f56e39fcfa97e31594bddfcf3834c1fc5d3
parentfcd0d50f8b952cc70f65639742cee5e194d84401 (diff)
downloadranger-71e23b227e8b018968b927a9e9f1837c4b4234ff.tar.gz
Revert "tags: Drop Pylint option that disappeared"
This reverts commit aa98a9a39eb2c5df10bb19b94ade3a98863470c4.
-rw-r--r--ranger/container/tags.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ranger/container/tags.py b/ranger/container/tags.py
index e1ceec6f..4d4e6c59 100644
--- a/ranger/container/tags.py
+++ b/ranger/container/tags.py
@@ -123,6 +123,7 @@ class Tags(FileManagerAware):
             elif path.startswith(path_old + sep):
                 pnew = path_new + path[len(path_old):]
             if pnew:
+                # pylint: disable=unnecessary-dict-index-lookup
                 del self.tags[path]
                 self.tags[pnew] = tag
                 changed = True