From f2b8f4e309a426aadde9777dfb214d2d955b9b23 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 76f5ab642b46..89d26bae3015 100644 --- a/lib/tool_shed/metadata/repository_metadata_manager.py +++ b/lib/tool_shed/metadata/repository_metadata_manager.py @@ -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)