From e65a2490c108929043a685eeca6bb89b6ade0b9c Mon Sep 17 00:00:00 2001 From: mvdbeek Date: Sun, 3 Dec 2017 10:49:11 +0100 Subject: [PATCH] Linting fixes --- lib/galaxy/tools/repositories.py | 8 ++++---- lib/tool_shed/tools/data_table_manager.py | 1 - 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/lib/galaxy/tools/repositories.py b/lib/galaxy/tools/repositories.py index 5bc35faef62..dec44e8e336 100644 --- a/lib/galaxy/tools/repositories.py +++ b/lib/galaxy/tools/repositories.py @@ -45,10 +45,10 @@ class ValidationContext(object): self.config.tool_data_table_config, self.config.shed_tool_data_table_config} for path in cleanup_paths: - try: - os.remove(path) - except Exception: - pass + try: + os.remove(path) + except Exception: + pass @staticmethod @contextmanager diff --git a/lib/tool_shed/tools/data_table_manager.py b/lib/tool_shed/tools/data_table_manager.py index cf5dd21df2f..3f1386efabe 100644 --- a/lib/tool_shed/tools/data_table_manager.py +++ b/lib/tool_shed/tools/data_table_manager.py @@ -3,7 +3,6 @@ import os import shutil from xml.etree import ElementTree as XmlET -from galaxy.tools.data import ToolDataTableManager as tdtm from tool_shed.util import hg_util, xml_util log = logging.getLogger(__name__)