本網站在啟用 JavaScript 的情況下可以運作的更好。
首頁
探索
說明
登入
isprogram
/
autojump
镜像来自
https://github.com/wting/autojump.git
關注
1
收藏
0
複製
0
程式碼
問題
0
Projects
0
版本發佈
53
Wiki
活動
瀏覽代碼
Merge pull request
#202
from rbrito/master
Use non-lazy enumeration for removal of dictionary keys.
pull/192/merge
William Ting
11 年之前
父節點
883967e9f1
2a49b8ca47
當前提交
3bbd8e8e50
共有
1 個檔案被更改
,包括
1 行新增
和
1 行删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
bin/autojump
+ 1
- 1
bin/autojump
查看文件
@ -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…
取消
儲存