fnp
/
wolnelektury.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
0880758
)
fix ancient bug (WaitedFile.is_stale)
author
Jan Szejko
<jan.szejko@gmail.com>
Fri, 8 Jul 2016 12:04:04 +0000
(14:04 +0200)
committer
Jan Szejko
<jan.szejko@gmail.com>
Fri, 8 Jul 2016 12:04:04 +0000
(14:04 +0200)
src/waiter/models.py
patch
|
blob
|
history
diff --git
a/src/waiter/models.py
b/src/waiter/models.py
index
bffaf7f
..
112e754
100644
(file)
--- 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