提交 454c63e3 authored 作者: Pascal Lamblin's avatar Pascal Lamblin

Update cmodule.py

Fix typo
上级 13dd44bc
...@@ -666,7 +666,7 @@ class ModuleCache(object): ...@@ -666,7 +666,7 @@ class ModuleCache(object):
# Go through directories in alphabetical order to ensure consistent # Go through directories in alphabetical order to ensure consistent
# behavior. # behavior.
subdirs = sorted(os.listdir(self.dirname)) subdirs = sorted(os.listdir(self.dirname))
files, root = None, None # To make sure the del wor files, root = None, None # To make sure the "del" below works
for root in subdirs: for root in subdirs:
root = os.path.join(self.dirname, root) root = os.path.join(self.dirname, root)
key_pkl = os.path.join(root, 'key.pkl') key_pkl = os.path.join(root, 'key.pkl')
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论