From ccc4be1f1aca6577f8a33cbe88eafe44582fb85d Mon Sep 17 00:00:00 2001 From: SRE Date: Mon, 10 Apr 2017 14:26:02 +0200 Subject: [PATCH] More traces for the bug on the jobs command --- commands/jobs.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/commands/jobs.py b/commands/jobs.py index a8d3970..1ebf986 100644 --- a/commands/jobs.py +++ b/commands/jobs.py @@ -523,7 +523,15 @@ class Job(object): print(type(e)) print("The error: ") print(e) - self.err += _("Unable to get remote log files: %s" % str(e)) + print("Local scope:") + print(dir()) + print("The str type: ") + print(type(str)) + print("str: ") + print(str) + if 'str' in dir(): + del(str) + self.err += _("Unable to get remote log files!") def total_duration(self): """Give the total duration of the job -- 2.39.2