Skip to content

Commit

Permalink
repository_metadata_manager.py - linting fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jmchilton committed May 18, 2023
1 parent 29862a1 commit 3490688
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions lib/tool_shed/metadata/repository_metadata_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,10 +155,8 @@ def handle_repository_elem(self, repository_elem, only_if_compiling_contained_td
.one()
)
except Exception:
error_message = "Ignoring repository dependency definition for tool shed %s, name %s, owner %s, " % (
toolshed,
name,
owner,
error_message = (
f"Ignoring repository dependency definition for tool shed {toolshed}, name {name}, owner {owner}, "
)
error_message += f"changeset revision {changeset_revision} because the owner is invalid."
log.debug(error_message)
Expand Down

0 comments on commit 3490688

Please sign in to comment.