Skip to content

Commit

Permalink
[Resolves Sceptre#1187] Remove use of !r in error
Browse files Browse the repository at this point in the history
  • Loading branch information
okcleary committed Mar 19, 2024
1 parent 9ffe740 commit 3ecd9be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sceptre/config/reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -437,11 +437,11 @@ def _get_merge_with_stratgies(self, left: dict, right: dict) -> dict:
pass
elif name not in strategies.SELECTABLE:
raise SceptreException(
f"{name!r} is not a valid inheritance strategy"
f"{name} is not a valid inheritance strategy"
)
elif name not in CONFIG_MERGE_STRATEGY_OVERRIDES[config_key]:
raise SceptreException(
f"{name!r} is not a valid inheritance strategy for {config_key}"
f"{name} is not a valid inheritance strategy for {config_key}"
)
else:
strategy = strategies.SELECTABLE[name]
Expand Down

0 comments on commit 3ecd9be

Please sign in to comment.