使用 JavaScript能使本网站更好的工作。
首页
探索
帮助
登录
isprogram
/
autojump
镜像自地址
https://github.com/wting/autojump.git
关注
1
点赞
0
派生
0
代码
工单
0
项目
0
版本发布
53
百科
动态
浏览代码
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 选项
显示统计
下载 Patch 文件
下载 Diff 文件
+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]
撰写
预览
正在加载...
取消
保存