Skip to content

Commit

Permalink
validate: Remove duplicative single quotes around !r interpolation
Browse files Browse the repository at this point in the history
repr() will add appropriate quotes around the value.

Related-to: <#1281 (comment)>
  • Loading branch information
tsibley committed Aug 21, 2023
1 parent 37a0a07 commit 14d2781
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion augur/validate.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def load_json_schema(path, refs=None):
# Either way, Augur should not be accessing the network.
def resolve_remote(url):
# The exception type is not important as jsonschema will catch & re-raise as a RefResolutionError
raise Exception(f"The schema used for validation attempted to fetch the remote URL '{url!r}'. " +
raise Exception(f"The schema used for validation attempted to fetch the remote URL {url!r}. " +
"Augur should resolve schema references to local files, please check the schema used " +
"and update the appropriate schema_store as needed." )
schema_validator.resolver.resolve_remote = resolve_remote
Expand Down

0 comments on commit 14d2781

Please sign in to comment.