summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authornfnty <git@nfnty.se>2016-12-24 05:33:43 +0100
committernfnty <git@nfnty.se>2017-01-17 05:59:03 +0100
commit28f9a22f88084efbda98e497fc6852393ce03d7c (patch)
treee3b0e86f8e5476f68d48960325d30dd4f654ff76 /ranger
parent6373f321ddb318152b9a367a465fa721f415f330 (diff)
downloadranger-28f9a22f88084efbda98e497fc6852393ce03d7c.tar.gz
linting: Enable `consider-iterating-dictionary`
Diffstat (limited to 'ranger')
-rw-r--r--ranger/container/bookmarks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/container/bookmarks.py b/ranger/container/bookmarks.py
index fd7fc017..964efcae 100644
--- a/ranger/container/bookmarks.py
+++ b/ranger/container/bookmarks.py
@@ -117,7 +117,7 @@ class Bookmarks(object):
         except OSError:
             return
 
-        for key in set(self.dct.keys()) | set(real_dict.keys()):
+        for key in set(self.dct) | set(real_dict):
             # set some variables
             if key in self.dct:
                 current = self.dct[key]