Skip to content

Commit

Permalink
SDK - Compiler - Fixed error message (#4053)
Browse files Browse the repository at this point in the history
Fixes #4021
  • Loading branch information
Ark-kun authored Jun 24, 2020
1 parent 91f08c4 commit 757d43c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/python/kfp/compiler/compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def _get_uncommon_ancestors(self, op_groups, opsgroup_groups, op1, op2):
elif op2.name in opsgroup_groups:
op2_groups = opsgroup_groups[op2.name]
else:
raise ValueError(op1.name + ' does not exist.')
raise ValueError(op2.name + ' does not exist.')

both_groups = [op1_groups, op2_groups]
common_groups_len = sum(1 for x in zip(*both_groups) if x==(x[0],)*len(x))
Expand Down

0 comments on commit 757d43c

Please sign in to comment.