Skip to content

Commit

Permalink
Flake8 B904
Browse files Browse the repository at this point in the history
  • Loading branch information
MetRonnie committed Sep 4, 2024
1 parent 907ff0d commit e0399c1
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 e0399c1

Please sign in to comment.