Skip to content

Commit

Permalink
Flake8 B904 (#6356)
Browse files Browse the repository at this point in the history
  • Loading branch information
MetRonnie authored Sep 5, 2024
1 parent 3f46a0f commit 293c3cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cylc/flow/dbstatecheck.py
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ def check_polling_config(selector, is_trigger, is_message):
try:
trigger = TASK_STATE_MAP[selector]
except KeyError:
raise InputError(f'No such task state "{selector}"')
raise InputError(f'No such task state "{selector}"') from None
else:
if trigger is None:
raise InputError(
Expand Down

0 comments on commit 293c3cc

Please sign in to comment.