From: Gilles DAVID Date: Mon, 24 Nov 2014 16:41:50 +0000 (+0100) Subject: Recover previously removed line X-Git-Tag: V7_5_1b1~2^2~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2Fgdd%2Fpython_refactoring;p=modules%2Fkernel.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