mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-24 07:26:29 +00:00
Fix check_ordering of succ. (it always succeeded)
This commit is contained in:
parent
a0bc989459
commit
bd56e810b2
1 changed files with 1 additions and 1 deletions
|
@ -166,7 +166,7 @@ class TaskList(object):
|
||||||
for successor in task.successors:
|
for successor in task.successors:
|
||||||
# Run through all successors and check whether the phase of the task
|
# Run through all successors and check whether the phase of the task
|
||||||
# comes before the phase of a successor
|
# comes before the phase of a successor
|
||||||
if successor.phase > successor.phase:
|
if task.phase > successor.phase:
|
||||||
msg = ("The task {task} is specified as running before {other}, "
|
msg = ("The task {task} is specified as running before {other}, "
|
||||||
"but its phase '{phase}' lies after the phase '{other_phase}'"
|
"but its phase '{phase}' lies after the phase '{other_phase}'"
|
||||||
.format(task=task, other=successor, phase=task.phase, other_phase=successor.phase))
|
.format(task=task, other=successor, phase=task.phase, other_phase=successor.phase))
|
||||||
|
|
Loading…
Add table
Reference in a new issue