From 6547e421f8d3796ef8d7657ea35bfa194ac5c6e2 Mon Sep 17 00:00:00 2001 From: John Chilton Date: Mon, 17 Oct 2022 17:01:28 -0400 Subject: [PATCH] linting fixes for admin_toolshed.py. --- lib/galaxy/webapps/galaxy/controllers/admin_toolshed.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/galaxy/webapps/galaxy/controllers/admin_toolshed.py b/lib/galaxy/webapps/galaxy/controllers/admin_toolshed.py index a8d1c5e4b3f..ea077071571 100644 --- a/lib/galaxy/webapps/galaxy/controllers/admin_toolshed.py +++ b/lib/galaxy/webapps/galaxy/controllers/admin_toolshed.py @@ -160,10 +160,8 @@ class AdminToolshed(AdminGalaxy): repository = get_installed_tool_shed_repository(trans.app, repository_id) if repository is None: return trans.show_error_message("Invalid repository specified.") - tool_shed_url = common_util.get_tool_shed_url_from_tool_shed_registry(trans.app, str(repository.tool_shed)) description = kwd.get("description", repository.description) status = "ok" - _, tool_path, _ = get_tool_panel_config_tool_path_install_dir(trans.app, repository) if repository.in_error_state: message = "This repository is not installed correctly (see the Repository installation error below). Choose " message += "Reset to install from the Repository Actions menu, correct problems if necessary and try "