From: crouzet Date: Tue, 12 Nov 2019 09:31:09 +0000 (+0100) Subject: suppression du warning python 3 - le portage a bien avancé X-Git-Tag: 5.5.0~15 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=553593e49b88404d2934614f2e5190412494e541;p=tools%2Fsat.git suppression du warning python 3 - le portage a bien avancé --- diff --git a/sat b/sat index e4c6550..b162b7a 100755 --- a/sat +++ b/sat @@ -51,11 +51,6 @@ DBG.write("Python version", sys.version, DBG.isDeveloper()) # MAIN ################################# if __name__ == "__main__": - if platform.python_version()[0]=="3": - msg_py3="sat is used with python 3!! It is not yet completely validated for!\n"\ - "Please check you environment.\n"\ - "sat should be used preferentially with a (native) python 2 version." - logger.warning(msg_py3) from src.salomeTools import Sat # it is time to do import args = sys.argv[1:] # skip useless "sat'