From: Gilles DAVID Date: Mon, 24 Nov 2014 16:41:50 +0000 (+0100) Subject: Recover previously removed line X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d65811552dcbe4a5d4984516009e6f124d080d4c;p=modules%2Fyacs.git Recover previously removed line The previously removed "import" command is specifically tested in the try except block. --- diff --git a/bin/killSalomeWithPort.py b/bin/killSalomeWithPort.py index 0ffb397e3..e6dcf5d37 100755 --- a/bin/killSalomeWithPort.py +++ b/bin/killSalomeWithPort.py @@ -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