From 349068870c335a30fdb9d10d8d99f756e25c9542 Mon Sep 17 00:00:00 2001 From: John Chilton Date: Fri, 17 Mar 2023 10:35:24 -0400 Subject: [PATCH] repository_metadata_manager.py - linting fix --- lib/tool_shed/metadata/repository_metadata_manager.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/tool_shed/metadata/repository_metadata_manager.py b/lib/tool_shed/metadata/repository_metadata_manager.py index 915d1369f0af..ced0a36eac77 100644 --- a/lib/tool_shed/metadata/repository_metadata_manager.py +++ b/lib/tool_shed/metadata/repository_metadata_manager.py @@ -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)