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=97a5389f92ab42a930eff1e2c450c4a50ce541c1;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