Skip to content

Commit

Permalink
Merge pull request #6332 from uwagura/fix-graph-parse-error
Browse files Browse the repository at this point in the history
Added f to format string
  • Loading branch information
oliver-sanders authored Aug 29, 2024
2 parents 347921f + 7523bc5 commit c6076c0
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .mailmap
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# FORMAT: <proper-name> <proper-email> <commit-name> <commit-email>
# FORMAT: <proper-name> <proper-email> <commit-name> <commit-email>
# Omit commit-name or commit-email if same as proper

Alex Reinecke <alex.reinecke@nrlmry.navy.mil> P. A. Reinecke
Expand Down Expand Up @@ -52,6 +52,8 @@ Tim Whitcomb <tim.whitcomb@nrlmry.navy.mil>
Tim Whitcomb <tim.whitcomb@nrlmry.navy.mil> trwhitcomb <twhitcomb@gmail.com>
Tomek Trzeciak <tomasz.trzeciak@metoffice.gov.uk> <TomekTrzeciak@users.noreply.github.com>
Tomek Trzeciak <tomasz.trzeciak@metoffice.gov.uk> TomekTrzeciak <tomasz.trzeciak@metoffice.gov.uk>
github-actions[bot] <github-actions@noreply.github.com> <41898282+github-actions[bot]@users.noreply.github.com>
Utheri Wagura <utheriwagura@gmail.com>
Utheri Wagura <36386988+uwagura@users.noreply.github.com>
github-actions[bot] <github-actions@noreply.github.com> <41898282+github-actions[bot]@users.noreply.github.com>
github-actions[bot] <github-actions@noreply.github.com> GitHub Action
Diquan Jabbour <165976689+Diquan-BOM@users.noreply.github.com>
1 change: 1 addition & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ requests_).
- Mark Dawson
- Diquan Jabbour
- Shixian Sheng
- Utheri Wagura
<!-- end-shortlog -->

(All contributors are identifiable with email addresses in the git version
Expand Down
1 change: 1 addition & 0 deletions changes.d/6332.fix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fixes unformatted string
2 changes: 1 addition & 1 deletion cylc/flow/graph_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,7 @@ def _proc_dep_pair(
# Not a family.
if trig in self.__class__.fam_to_mem_trigger_map:
raise GraphParseError(
"family trigger on non-family namespace {expr}")
f"family trigger on non-family namespace {expr}")

# remove '?' from expr (not needed in logical trigger evaluation)
expr = re.sub(self.__class__._RE_OPT, '', expr)
Expand Down

0 comments on commit c6076c0

Please sign in to comment.