vastly simplify log rotation

This commit is contained in:
Jimmy Zelinskie 2016-02-09 15:20:52 -05:00
parent aef651a7ad
commit ee705fe7a9
2 changed files with 24 additions and 38 deletions

View file

@ -133,7 +133,7 @@ def get_stale_logs_start_id():
return None
def get_stale_logs_end_id(cutoff_date):
def get_stale_logs_cutoff_id(cutoff_date):
""" Gets the most recent ID created before the cutoff_date. """
try:
return (LogEntry