From aafd994b0bdc67169764bdcd7d20b12381ea8699 Mon Sep 17 00:00:00 2001 From: Jan Szejko Date: Fri, 8 Jul 2016 14:04:04 +0200 Subject: [PATCH 1/1] fix ancient bug (WaitedFile.is_stale) --- src/waiter/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/waiter/models.py b/src/waiter/models.py index bffaf7f8a..112e75499 100644 --- a/src/waiter/models.py +++ b/src/waiter/models.py @@ -52,7 +52,7 @@ class WaitedFile(models.Model): already = cls.exists(path) if not already: waited, created = cls.objects.get_or_create(path=path) - if created or waited.is_stale(): + if created: waited.task = task_creator(check_abspath(path), waited.pk) waited.task_id = waited.task.task_id waited.description = description -- 2.20.1