X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=bin%2Fappliskel%2Fsalome_starter.py;h=2dc218a9479beb01873d88303afa7aa1303412c7;hb=ab8bd74a4dd55cd7c24c05e634ea9aff25bffb21;hp=795803d408da1eae96165d06d999acdb554565a8;hpb=ada77737fcc32130dedcd5e8992c2aafdf5cf3d6;p=modules%2Fkernel.git diff --git a/bin/appliskel/salome_starter.py b/bin/appliskel/salome_starter.py index 795803d40..2dc218a94 100644 --- a/bin/appliskel/salome_starter.py +++ b/bin/appliskel/salome_starter.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 # Copyright (C) 2014-2017 CEA/DEN, EDF R&D, OPEN CASCADE # @@ -53,7 +53,7 @@ def initialize(launcherPath, launcherFile): appliPath = __detectAppliPath(launcherPath, launcherFile) if appliPath is None: - print "ERROR: Unable to find application folder" + print("ERROR: Unable to find application folder") sys.exit(1) appliPath = os.path.relpath(appliPath, homePath) @@ -68,7 +68,7 @@ def initialize(launcherPath, launcherFile): try: from salomeContextUtils import setOmniOrbUserPath setOmniOrbUserPath() - except Exception, e: - print e + except Exception as e: + print(e) sys.exit(1) # End of preliminary work