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 <[email protected]> P. A. Reinecke
Expand Down Expand Up @@ -52,6 +52,8 @@ Tim Whitcomb <[email protected]>
Tim Whitcomb <[email protected]> trwhitcomb <[email protected]>
Tomek Trzeciak <[email protected]> <[email protected]>
Tomek Trzeciak <[email protected]> TomekTrzeciak <[email protected]>
github-actions[bot] <[email protected]> <41898282+github-actions[bot]@users.noreply.github.com>
Utheri Wagura <[email protected]>
Utheri Wagura <[email protected]>
github-actions[bot] <[email protected]> <41898282+github-actions[bot]@users.noreply.github.com>
github-actions[bot] <[email protected]> GitHub Action
Diquan Jabbour <[email protected]>
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.