Oops; _resort needs to mark ev.linked=False to avoid assertion errors in _insert.

Mon, 29 Jan 2018 09:43:39 +0000

author
Tuomo Valkonen <tuomov@iki.fi>
date
Mon, 29 Jan 2018 09:43:39 +0000
changeset 91
f53aa2007a84
parent 90
8f84b3e60336
child 92
a1d3721ef5fa

Oops; _resort needs to mark ev.linked=False to avoid assertion errors in _insert.

borgend/scheduler.py file | annotate | diff | comparison | revisions
--- a/borgend/scheduler.py	Mon Jan 29 09:41:14 2018 +0000
+++ b/borgend/scheduler.py	Mon Jan 29 09:43:39 2018 +0000
@@ -107,6 +107,7 @@
             ev=oldlist
             oldlist=oldlist.next
             ev.unlink()
+            ev.linked=False
             self._insert(ev)
 
 

mercurial