Kaydet (Commit) f543348f authored tarafından Guido van Rossum's avatar Guido van Rossum

Fix another loop over a dict that may change... :-(

üst ce4a475e
......@@ -45,7 +45,7 @@ def checkcache(filename=None):
(This is not checked upon each call!)"""
if filename is None:
filenames = cache.keys()
filenames = list(cache.keys())
else:
if filename in cache:
filenames = [filename]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment