mirror of
https://github.com/wting/autojump
synced 2024-10-27 20:34:07 +00:00
Merge 2a49b8ca47
into 883967e9f1
This commit is contained in:
commit
8d5210057c
@ -173,7 +173,7 @@ class Database:
|
|||||||
Deletes all entries that no longer exist on system.
|
Deletes all entries that no longer exist on system.
|
||||||
"""
|
"""
|
||||||
removed = []
|
removed = []
|
||||||
for path in self.data.keys():
|
for path in list(self.data.keys()):
|
||||||
if not os.path.exists(path):
|
if not os.path.exists(path):
|
||||||
removed.append(path)
|
removed.append(path)
|
||||||
del self.data[path]
|
del self.data[path]
|
||||||
|
Loading…
Reference in New Issue
Block a user