From 745c77787955a75606a072e25fe54694bd9bdf01 Mon Sep 17 00:00:00 2001 From: Kyle Ellrott Date: Tue, 9 Jun 2015 11:08:25 -0700 Subject: [PATCH] Clarifing naming to use 'Phase' --- lib/galaxy/tools/__init__.py | 4 ++-- templates/admin/tool_errors.mako | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/galaxy/tools/__init__.py b/lib/galaxy/tools/__init__.py index f1ee07e9d06..9baa171ffb4 100755 --- a/lib/galaxy/tools/__init__.py +++ b/lib/galaxy/tools/__init__.py @@ -87,11 +87,11 @@ class ToolErrorLog: self.error_stack = [] self.max_errors = 100 - def add_error(self, file, section, exception): + def add_error(self, file, phase, exception): self.error_stack.insert(0, { "file" : file, "time" : str(datetime.now()), - "section" : section, + "phase" : phase, "error" : str(exception) } ) if len(self.error_stack) > self.max_errors: diff --git a/templates/admin/tool_errors.mako b/templates/admin/tool_errors.mako index e94a20550fc..7843f0034ff 100644 --- a/templates/admin/tool_errors.mako +++ b/templates/admin/tool_errors.mako @@ -11,14 +11,14 @@ Internal Tool Error log - + %for error in tool_errors: - +
TimeSystemPhase File Error
${error['time']}${error['section']}${error['phase']} ${error['file']} ${error['error']}