]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Fix return statement for 'salome context' cbr/crowdin_V8_4_BR gdd/fix_salome_context_return
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:37:35 +0000 (09:37 +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):