We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 93d28a9 commit 50ca546Copy full SHA for 50ca546
plugin/lighthouse/util/log.py
@@ -80,7 +80,7 @@ def cleanup_log_directory(log_directory):
80
filetimes[os.path.getmtime(filepath)] = filepath
81
82
# get the filetimes and check if there's enough to warrant cleanup
83
- times = filetimes.keys()
+ times = list(filetimes.keys())
84
if len(times) < MAX_LOGS:
85
return
86
0 commit comments