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 Aug 17, 2023
1 parent f1a9130 commit f2b8f4e
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 @@ -156,10 +156,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 f2b8f4e

Please sign in to comment.