Skip to content

Commit

Permalink
python 3 compat
Browse files Browse the repository at this point in the history
  • Loading branch information
gaasedelen committed Apr 17, 2019
1 parent 93d28a9 commit 50ca546
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/lighthouse/util/log.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def cleanup_log_directory(log_directory):
filetimes[os.path.getmtime(filepath)] = filepath

# get the filetimes and check if there's enough to warrant cleanup
times = filetimes.keys()
times = list(filetimes.keys())
if len(times) < MAX_LOGS:
return

Expand Down

0 comments on commit 50ca546

Please sign in to comment.