From: vsr Date: Thu, 6 Oct 2016 07:59:43 +0000 (+0300) Subject: 0023360: [CEA 1963] Use salome.sg.updateObjBrowser(True) instead of salome.sg.updateO... X-Git-Tag: V8_2_0a1~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=270e41fadce54f7d682e3ab31ba571d29d6b0dd0;p=modules%2Fhomard.git 0023360: [CEA 1963] Use salome.sg.updateObjBrowser(True) instead of salome.sg.updateObjBrowser(1) --- diff --git a/doc/files/tutorial_1.py b/doc/files/tutorial_1.py index 63bf336d..b1553c17 100755 --- a/doc/files/tutorial_1.py +++ b/doc/files/tutorial_1.py @@ -89,4 +89,4 @@ gzip_gunzip(DATA_TUTORIAL, 1, 1) # ================================== # if salome.sg.hasDesktop(): - salome.sg.updateObjBrowser(1) + salome.sg.updateObjBrowser(True) diff --git a/doc/files/tutorial_2.py b/doc/files/tutorial_2.py index d2e682c9..ad007671 100755 --- a/doc/files/tutorial_2.py +++ b/doc/files/tutorial_2.py @@ -99,4 +99,4 @@ gzip_gunzip(DATA_TUTORIAL, 2, 1) # ================================== if salome.sg.hasDesktop(): - salome.sg.updateObjBrowser(1) + salome.sg.updateObjBrowser(True) diff --git a/doc/files/tutorial_3.py b/doc/files/tutorial_3.py index 08518d82..07957b80 100755 --- a/doc/files/tutorial_3.py +++ b/doc/files/tutorial_3.py @@ -128,4 +128,4 @@ gzip_gunzip(DATA_TUTORIAL, 3, 1) # ================================== if salome.sg.hasDesktop(): - salome.sg.updateObjBrowser(1) + salome.sg.updateObjBrowser(True) diff --git a/doc/files/tutorial_4.py b/doc/files/tutorial_4.py index 9d27024a..8b8a583d 100755 --- a/doc/files/tutorial_4.py +++ b/doc/files/tutorial_4.py @@ -115,4 +115,4 @@ gzip_gunzip(DATA_TUTORIAL, 4, 1) # ================================== if salome.sg.hasDesktop(): - salome.sg.updateObjBrowser(1) + salome.sg.updateObjBrowser(True) diff --git a/doc/files/tutorial_5.py b/doc/files/tutorial_5.py index 6157aca2..cdcd96e7 100755 --- a/doc/files/tutorial_5.py +++ b/doc/files/tutorial_5.py @@ -99,4 +99,4 @@ gzip_gunzip(DATA_TUTORIAL, 5, 1) # ================================== if salome.sg.hasDesktop(): - salome.sg.updateObjBrowser(1) + salome.sg.updateObjBrowser(True) diff --git a/src/tests/Test/test_1.py b/src/tests/Test/test_1.py index 6f63614b..2bb3ca26 100755 --- a/src/tests/Test/test_1.py +++ b/src/tests/Test/test_1.py @@ -215,6 +215,6 @@ DESTROY_DIR = not DEBUG test_results(REP_DATA, TEST_NAME, DIRCASE, N_ITER_TEST_FILE, N_REP_TEST_FILE, DESTROY_DIR) # if salome.sg.hasDesktop(): - salome.sg.updateObjBrowser(1) + salome.sg.updateObjBrowser(True) iparameters.getSession().restoreVisualState(1) diff --git a/src/tests/Test/test_2.py b/src/tests/Test/test_2.py index 30383a8f..fd92d1f8 100755 --- a/src/tests/Test/test_2.py +++ b/src/tests/Test/test_2.py @@ -187,6 +187,6 @@ DESTROY_DIR = not DEBUG test_results(REP_DATA, TEST_NAME, DIRCASE, N_ITER_TEST_FILE, N_REP_TEST_FILE, DESTROY_DIR) # if salome.sg.hasDesktop(): - salome.sg.updateObjBrowser(1) + salome.sg.updateObjBrowser(True) iparameters.getSession().restoreVisualState(1) diff --git a/src/tests/Test/test_3.py b/src/tests/Test/test_3.py index 68ca9718..ddaa7a16 100755 --- a/src/tests/Test/test_3.py +++ b/src/tests/Test/test_3.py @@ -221,6 +221,6 @@ DESTROY_DIR = not DEBUG test_results(REP_DATA, TEST_NAME, DIRCASE, N_ITER_TEST_FILE, N_REP_TEST_FILE, DESTROY_DIR) # if salome.sg.hasDesktop(): - salome.sg.updateObjBrowser(1) + salome.sg.updateObjBrowser(True) iparameters.getSession().restoreVisualState(1) diff --git a/src/tests/Test/test_4.py b/src/tests/Test/test_4.py index 01013b3b..e4facd3d 100755 --- a/src/tests/Test/test_4.py +++ b/src/tests/Test/test_4.py @@ -343,6 +343,6 @@ DESTROY_DIR = not DEBUG test_results(REP_DATA, TEST_NAME, DIRCASE, N_ITER_TEST_FILE, N_REP_TEST_FILE, DESTROY_DIR) # if salome.sg.hasDesktop(): - salome.sg.updateObjBrowser(1) + salome.sg.updateObjBrowser(True) iparameters.getSession().restoreVisualState(1) diff --git a/src/tests/Test/test_5.py b/src/tests/Test/test_5.py index 14c94649..07aa93f3 100755 --- a/src/tests/Test/test_5.py +++ b/src/tests/Test/test_5.py @@ -331,6 +331,6 @@ DESTROY_DIR = not DEBUG test_results(REP_DATA, TEST_NAME, DIRCASE, N_ITER_TEST_FILE, N_REP_TEST_FILE, DESTROY_DIR) # if salome.sg.hasDesktop(): - salome.sg.updateObjBrowser(1) + salome.sg.updateObjBrowser(True) iparameters.getSession().restoreVisualState(1) diff --git a/src/tests/Test/tutorial_1.py b/src/tests/Test/tutorial_1.py index df809e68..201490bf 100755 --- a/src/tests/Test/tutorial_1.py +++ b/src/tests/Test/tutorial_1.py @@ -137,6 +137,6 @@ gzip_gunzip(DATA_TUTORIAL, 1, 1) # ================================== # if salome.sg.hasDesktop(): - salome.sg.updateObjBrowser(1) + salome.sg.updateObjBrowser(True) iparameters.getSession().restoreVisualState(1) diff --git a/src/tests/Test/tutorial_2.py b/src/tests/Test/tutorial_2.py index 8ffcb5c7..ee9802de 100755 --- a/src/tests/Test/tutorial_2.py +++ b/src/tests/Test/tutorial_2.py @@ -148,6 +148,6 @@ gzip_gunzip(DATA_TUTORIAL, 2, 1) # ================================== # if salome.sg.hasDesktop(): - salome.sg.updateObjBrowser(1) + salome.sg.updateObjBrowser(True) iparameters.getSession().restoreVisualState(1) diff --git a/src/tests/Test/tutorial_3.py b/src/tests/Test/tutorial_3.py index 950cbbb4..8a043061 100755 --- a/src/tests/Test/tutorial_3.py +++ b/src/tests/Test/tutorial_3.py @@ -177,6 +177,6 @@ gzip_gunzip(DATA_TUTORIAL, 3, 1) # ================================== # if salome.sg.hasDesktop(): - salome.sg.updateObjBrowser(1) + salome.sg.updateObjBrowser(True) iparameters.getSession().restoreVisualState(1) diff --git a/src/tests/Test/tutorial_4.py b/src/tests/Test/tutorial_4.py index 3a0b0a6b..676b2876 100755 --- a/src/tests/Test/tutorial_4.py +++ b/src/tests/Test/tutorial_4.py @@ -164,6 +164,6 @@ gzip_gunzip(DATA_TUTORIAL, 4, 1) # ================================== # if salome.sg.hasDesktop(): - salome.sg.updateObjBrowser(1) + salome.sg.updateObjBrowser(True) iparameters.getSession().restoreVisualState(1) diff --git a/src/tests/Test/tutorial_5.py b/src/tests/Test/tutorial_5.py index fb290537..c79201f0 100755 --- a/src/tests/Test/tutorial_5.py +++ b/src/tests/Test/tutorial_5.py @@ -148,6 +148,6 @@ gzip_gunzip(DATA_TUTORIAL, 5, 1) # ================================== # if salome.sg.hasDesktop(): - salome.sg.updateObjBrowser(1) + salome.sg.updateObjBrowser(True) iparameters.getSession().restoreVisualState(1)