Skip to content

Commit 17d7385

Browse files
wxtimMetRonnie
andauthored
Update cylc/flow/parsec/validate.py
Co-authored-by: Ronnie Dutta <[email protected]>
1 parent 127945c commit 17d7385

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cylc/flow/parsec/validate.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1026,8 +1026,8 @@ def coerce_parameter_list(cls, value, keys):
10261026
elif cls._REC_NAME_SUFFIX.match(item): # noqa: SIM106
10271027
try:
10281028
if '_' in item:
1029-
raise ValueError(
1030-
'Artifical value error undoing PEP-515')
1029+
# Disable PEP-515 int coercion; go to except block:
1030+
raise ValueError()
10311031
int(item)
10321032
except ValueError:
10331033
if can_only_be is int:

0 commit comments

Comments
 (0)