From 857cf2aa449f3f2f81393f8633c0b1dbdc8ebe3f Mon Sep 17 00:00:00 2001 From: Miro HronĨok Date: Jul 24 2019 13:18:59 +0000 Subject: FTBFS weekly reminder: If ALREADY_FILED is too old, drop it Signed-off-by: Make It --- diff --git a/scripts/ftbfs_weekly_reminder.py b/scripts/ftbfs_weekly_reminder.py index 1c5c675..2af077a 100755 --- a/scripts/ftbfs_weekly_reminder.py +++ b/scripts/ftbfs_weekly_reminder.py @@ -115,6 +115,10 @@ if ALREADY_FILED.exists(): ignore = [ int(l.rstrip()) for l in ALREADY_FILED.read_text().splitlines() ] + else: + target = ALREADY_FILED.parent / f'~{ALREADY_FILED.name}' + print(f'Moving too old {ALREADY_FILED} to {target}') + ALREADY_FILED.rename(target) print('Gathering bugz, this can take a while...')