Commit f543348f authored by Guido van Rossum's avatar Guido van Rossum

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

parent ce4a475e
...@@ -45,7 +45,7 @@ def checkcache(filename=None): ...@@ -45,7 +45,7 @@ def checkcache(filename=None):
(This is not checked upon each call!)""" (This is not checked upon each call!)"""
if filename is None: if filename is None:
filenames = cache.keys() filenames = list(cache.keys())
else: else:
if filename in cache: if filename in cache:
filenames = [filename] 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