Salome HOME
Merge branch 'V9_9_BR'
[modules/smesh.git] / src / SMESH_SWIG / SMESH_test2.py
index 67793b8b7ffc2d314836c846d5e1ec9c308f73f3..1bc3d99b68f99d43a0559d3dd720884f969c8824 100644 (file)
@@ -1,5 +1,5 @@
 #  -*- coding: iso-8859-1 -*-
-# Copyright (C) 2007-2016  CEA/DEN, EDF R&D, OPEN CASCADE
+# Copyright (C) 2007-2022  CEA/DEN, EDF R&D, OPEN CASCADE
 #
 # Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 # CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@ -24,7 +24,7 @@
 #  File   : SMESH_test2.py
 #  Module : SMESH
 #
-from .SMESH_test1 import *
+from SMESH_test1 import *
 
 # ---- compute box
 
@@ -32,7 +32,7 @@ print("-------------------------- compute box")
 ret = mesh.Compute()
 print(ret)
 log = mesh.GetLog(0); # no erase trace
-for linelog in log:
-    print(linelog)
+for linelog in log:
+    print(linelog)
 
-salome.sg.updateObjBrowser(True)
+salome.sg.updateObjBrowser()