Salome HOME
suppression du warning python 3 - le portage a bien avancé
authorcrouzet <nicolas.crouzet@cea.fr>
Tue, 12 Nov 2019 09:31:09 +0000 (10:31 +0100)
committercrouzet <nicolas.crouzet@cea.fr>
Tue, 12 Nov 2019 09:31:09 +0000 (10:31 +0100)
sat

diff --git a/sat b/sat
index e4c65502be57fc1c81d8c64162969695008ceae8..b162b7abf3fba1a18838825751386e67bd0a78d9 100755 (executable)
--- 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'