diff --git a/lib/galaxy/workflow/steps.py b/lib/galaxy/workflow/steps.py index 29ad28d3470..a87e1828728 100644 --- a/lib/galaxy/workflow/steps.py +++ b/lib/galaxy/workflow/steps.py @@ -28,7 +28,7 @@ def order_workflow_steps(steps): """ Perform topological sort of the steps, return ordered or None """ - position_data_available = True if steps else False + position_data_available = bool(steps) for step in steps: if not step.position or "left" not in step.position or "top" not in step.position: position_data_available = False