Skip to content

Commit

Permalink
Undo code review :)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcua committed Apr 16, 2019
1 parent 719e665 commit f6e5ff9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion orchestra/workflow/load.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ def _verify_dependencies_not_updated(step_data, dependency_attr,
new_dependencies = set(step_data.get(dependency_attr, []))
old_set = set(old_dependencies or [])
new_set = set(new_dependencies)
if new_set - old_set:
if old_dependencies is not None and (new_set - old_set):
raise WorkflowError(
'Even with --force, you cannot change the topology of a workflow. '
'Drop and recreate the database to reset, or create a new '
Expand Down

0 comments on commit f6e5ff9

Please sign in to comment.