Salome HOME
Bug fix for the jobs command on machines that have not the same user as
authorSPN Salome - CEA <support-salome@cea.fr>
Thu, 8 Jun 2017 13:12:19 +0000 (15:12 +0200)
committerSPN Salome - CEA <support-salome@cea.fr>
Thu, 8 Jun 2017 13:12:19 +0000 (15:12 +0200)
the local machine.

commands/jobs.py

index 56f19d78d3229da8c01f7371f460b99235718bf0..ce60bba21f6a67987d6e87b3afc10ec119a0910d 100644 (file)
@@ -837,8 +837,8 @@ class Jobs(object):
                 # the init command
                 (__, __, __) = machine.exec_command(
                                 os.path.join(machine.sat_path,
-                                    "sat init --base unknown --workdir unknown"
-                                    " --log_dir unknown"),
+                                    ("sat init --base unknown --workdir unknown"
+                                     " --log_dir unknown")),
                                 self.logger)
                 
                 # get the remote machine distribution using a sat command