Skip to content

Commit

Permalink
fix mistake in earlier error message
Browse files Browse the repository at this point in the history
  • Loading branch information
wxtim committed Feb 20, 2024
1 parent 4de0514 commit e9b3547
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions cylc/flow/cfgspec/workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -1989,10 +1989,9 @@ def upgrade_graph_section(cfg: Dict[str, Any], descr: str) -> None:
list_cp = False
else:
msg_old = '[scheduling][dependencies][X]graph'
msg_new = '[scheduling][graph] - for X in:'
msg_new = '[scheduling][graph]X - for X in:'
list_cp = True


if 'graph' in cfg['scheduling']:
raise UpgradeError(
f'Cannot upgrade deprecated item "{msg_old} -> {msg_new}" '
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,5 @@ WARNING - * (8.0.0) [cylc][events]abort if inactivity handler fails - DELETED (
WARNING - * (8.0.0) [cylc][events]abort if stalled handler fails - DELETED (OBSOLETE)
WARNING - * (8.0.0) [cylc] -> [scheduler] - value unchanged
WARNING - deprecated graph items were automatically upgraded in "workflow definition":
* (8.0.0) [scheduling][dependencies][X]graph -> [scheduling][graph] - for X in:
* (8.0.0) [scheduling][dependencies][X]graph -> [scheduling][graph]X - for X in:
P1D

0 comments on commit e9b3547

Please sign in to comment.