]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Recover previously removed line gdd/python_refactoring
authorGilles DAVID <gilles-g.david@edf.fr>
Mon, 24 Nov 2014 16:41:50 +0000 (17:41 +0100)
committerGilles DAVID <gilles-g.david@edf.fr>
Mon, 24 Nov 2014 16:41:54 +0000 (17:41 +0100)
The previously removed "import" command is specifically tested in
the try except block.

bin/killSalomeWithPort.py

index 0ffb397e3168e38b39cbba92c25ae2f1f04a274a..e6dcf5d375e8cefb84c688a8262e7f63e9807b57 100755 (executable)
@@ -378,6 +378,7 @@ def killMyPort(port):
     time.sleep(3) # wait a little, then kill processes (should be done if shutdown procedure hangs up)
 
     try:
+        import PortManager
         filedict = getPiDict(port)
         #filedict = __guessPiDictFilename(port)
         import glob