From 270e41fadce54f7d682e3ab31ba571d29d6b0dd0 Mon Sep 17 00:00:00 2001 From: vsr Date: Thu, 6 Oct 2016 10:59:43 +0300 Subject: [PATCH] 0023360: [CEA 1963] Use salome.sg.updateObjBrowser(True) instead of salome.sg.updateObjBrowser(1) --- doc/files/tutorial_1.py | 2 +- doc/files/tutorial_2.py | 2 +- doc/files/tutorial_3.py | 2 +- doc/files/tutorial_4.py | 2 +- doc/files/tutorial_5.py | 2 +- src/tests/Test/test_1.py | 2 +- src/tests/Test/test_2.py | 2 +- src/tests/Test/test_3.py | 2 +- src/tests/Test/test_4.py | 2 +- src/tests/Test/test_5.py | 2 +- src/tests/Test/tutorial_1.py | 2 +- src/tests/Test/tutorial_2.py | 2 +- src/tests/Test/tutorial_3.py | 2 +- src/tests/Test/tutorial_4.py | 2 +- src/tests/Test/tutorial_5.py | 2 +- 15 files changed, 15 insertions(+), 15 deletions(-) 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) -- 2.39.2