]> SALOME platform Git repositories - tools/sat.git/commitdiff
Salome HOME
More traces for the bug on the jobs command
authorSRE <support-salome@cea.fr>
Mon, 10 Apr 2017 12:26:02 +0000 (14:26 +0200)
committerSRE <support-salome@cea.fr>
Mon, 10 Apr 2017 12:26:02 +0000 (14:26 +0200)
commands/jobs.py

index a8d3970f8a5968b1c040967da0fa1c0596c8ac91..1ebf98618f8fbf774643493eaf57d36b35eab60a 100644 (file)
@@ -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