This website works better with JavaScript.
Home
Explore
Help
Sign In
isprogram
/
autojump
mirror of
https://github.com/wting/autojump.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Projects
0
Releases
53
Wiki
Activity
Browse Source
Merge pull request
#202
from rbrito/master
Use non-lazy enumeration for removal of dictionary keys.
pull/192/merge
William Ting
11 years ago
parent
883967e9f1
2a49b8ca47
commit
3bbd8e8e50
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
bin/autojump
+ 1
- 1
bin/autojump
View File
@ -173,7 +173,7 @@ class Database:
Deletes all entries that no longer exist on system.
"""
removed = []
for path in self.data.keys():
for path in
list(
self.data.keys(
)
):
if not os.path.exists(path):
removed.append(path)
del self.data[path]
Write
Preview
Loading…
Cancel
Save