Skip to content

Commit 50ca546

Browse files
committed
python 3 compat
1 parent 93d28a9 commit 50ca546

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin/lighthouse/util/log.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def cleanup_log_directory(log_directory):
8080
filetimes[os.path.getmtime(filepath)] = filepath
8181

8282
# get the filetimes and check if there's enough to warrant cleanup
83-
times = filetimes.keys()
83+
times = list(filetimes.keys())
8484
if len(times) < MAX_LOGS:
8585
return
8686

0 commit comments

Comments
 (0)