Salome HOME
[PY3] 2to3 results
[modules/smesh.git] / src / SMESH_SWIG / ex30_tepal.py
index a3b299d4d2e9a3d7d64ec6786971303b2e6110d0..699df1640b90dd1c3ed1e73386b05511ef7ec603 100644 (file)
@@ -1,5 +1,5 @@
 #  -*- coding: iso-8859-1 -*-
-# Copyright (C) 2007-2015  CEA/DEN, EDF R&D, OPEN CASCADE
+# Copyright (C) 2007-2016  CEA/DEN, EDF R&D, OPEN CASCADE
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -87,11 +87,11 @@ status = m.Compute()
 # ----------
 
 if os.access(results+".xml", os.F_OK):
-    print "Ok: tepal"
+    print("Ok: tepal")
 else:
-    print "KO: tepal"
+    print("KO: tepal")
 
 # Update object browser
 # ---------------------
 
-salome.sg.updateObjBrowser(1)
+salome.sg.updateObjBrowser(True)