Skip to content

Commit d1a025c

Browse files
author
Norraphat
committed
fix string comparison
1 parent 7259b4d commit d1a025c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Configuration/PyReleaseValidation/python/upgradeWorkflowComponents.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -915,7 +915,7 @@ def setup_(self, step, stepName, stepDict, k, properties):
915915
d = merge([stepDict[self.getStepName(step)][k]])
916916
tmpsteps = []
917917
for s in d["-s"].split(","):
918-
if s == "DIGI:pdigi_valid" in s:
918+
if "DIGI:pdigi_valid" in s:
919919
tmpsteps.append("DIGI")
920920
else:
921921
tmpsteps.append(s)

0 commit comments

Comments
 (0)