From 71e23b227e8b018968b927a9e9f1837c4b4234ff Mon Sep 17 00:00:00 2001 From: toonn Date: Sat, 5 Feb 2022 19:29:45 +0100 Subject: Revert "tags: Drop Pylint option that disappeared" This reverts commit aa98a9a39eb2c5df10bb19b94ade3a98863470c4. --- ranger/container/tags.py | 1 + 1 file changed, 1 insertion(+) (limited to 'ranger') 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 -- cgit 1.4.1-2-gfad0