Skip to content

Commit 6f8dc74

Browse files
committed
fix typo in stop.py - options.max_poll -> options.max_polls
1 parent 0451051 commit 6f8dc74

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

changes.d/6645.fix.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fixed a typo in stop.py which caused a different exception to be raised than was desired

cylc/flow/scripts/stop.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ async def _run(
268268
if int(options.max_polls) > 0 and not await spoller.poll():
269269
# (test to avoid the "nothing to do" warning for # --max-polls=0)
270270
raise CylcError(
271-
f'Workflow did not shut down after {options.max_poll} polls'
271+
f'Workflow did not shut down after {options.max_polls} polls'
272272
)
273273
return ret
274274

0 commit comments

Comments
 (0)