Salome HOME
Fix return statement for 'salome context'
authorGilles DAVID <gilles-g.david@edf.fr>
Fri, 6 Oct 2017 07:37:35 +0000 (09:37 +0200)
committerGilles DAVID <gilles-g.david@edf.fr>
Fri, 6 Oct 2017 07:40:21 +0000 (09:40 +0200)
bin/salomeContext.py

index 92878a52aef382324d3d2aba804a9971c140a0e5..f3f3ccc014604a1b615d6d46243d9ecf00515270 100644 (file)
@@ -340,7 +340,7 @@ class SalomeContext:
     cmd = ["/bin/bash"]
     proc = subprocess.Popen(cmd, shell=False, close_fds=True)
     proc.communicate()
-    return proc.returncode()
+    return proc.returncode
   #
 
   def _runSession(self, args=None):