Salome HOME
link to remote machine logs in the matrix of jobs command
[tools/sat.git] / salomeTools.py
index e384fc4d972ec654d894ae630feaad0e8411c602..9edcf159e5f6651f2e9a5f2918e838a504bdf31b 100755 (executable)
@@ -137,6 +137,14 @@ class Sat(object):
         '''
         # loop on the commands name
         for nameCmd in lCommand:
+            
+            # Exception for the jobs command that require the paramiko module
+            if nameCmd == "jobs":
+                try:
+                    import paramiko
+                except:
+                    continue
+
             # load the module that has name nameCmd in dirPath
             (file_, pathname, description) = imp.find_module(nameCmd, [dirPath])
             module = imp.load_module(nameCmd, file_, pathname, description)