From: mpa Date: Wed, 8 Feb 2017 09:47:28 +0000 (+0300) Subject: code improvement X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=78502f0a8c7afe8ff4d18f0067a4d894c66aef68;p=modules%2Fgeom.git code improvement --- diff --git a/src/GEOM_SWIG/PAL_MESH_028_geometry.py b/src/GEOM_SWIG/PAL_MESH_028_geometry.py index 5de0e34f0..45dbbd78e 100755 --- a/src/GEOM_SWIG/PAL_MESH_028_geometry.py +++ b/src/GEOM_SWIG/PAL_MESH_028_geometry.py @@ -80,11 +80,11 @@ theFilenameToSave = theHomePath + "/Pyramid.hdf" if os.access(theFilenameToSave, os.F_OK): if os.access(theFilenameToSave, os.W_OK): os.remove(theFilenameToSave) - salome.myStudy.SaveAs(theFilenameToSave, 0) + salome.myStudy.SaveAs(theFilenameToSave, 0, 0) else: print "You have no enough permissions to overwrite HDF file: ",theFilenameToSave else: - salome.myStudy.SaveAs(theFilenameToSave, 0) + salome.myStudy.SaveAs(theFilenameToSave, 0, 0) salome.sg.updateObjBrowser()