# HG changeset patch # User Tuomo Valkonen # Date 1517219019 0 # Node ID f53aa2007a842438e08a32428153a7557bbfd5d3 # Parent 8f84b3e603365db7850f0ba277fa44bc434d40a5 Oops; _resort needs to mark ev.linked=False to avoid assertion errors in _insert. diff -r 8f84b3e60336 -r f53aa2007a84 borgend/scheduler.py --- 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)