mirror of
https://github.com/python/cpython.git
synced 2025-07-08 03:45:36 +00:00
Fix another loop over a dict that may change... :-(
This commit is contained in:
parent
ce4a475efb
commit
f543348fff
1 changed files with 1 additions and 1 deletions
|
@ -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]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue