X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPV_SWIG%2FparavisSM.py;h=32bca857d4d60fe169d1dd4f1364e6e9765454d5;hb=4095225705684389c98367e7ba154be482dfd468;hp=1586fcdf15d7f1c56af947e30e50ab2d0cfdc396;hpb=e2c075bb656e4e5b0d8e6fcb7e06b5c25f903dee;p=modules%2Fparavis.git diff --git a/src/PV_SWIG/paravisSM.py b/src/PV_SWIG/paravisSM.py index 1586fcdf..32bca857 100644 --- a/src/PV_SWIG/paravisSM.py +++ b/src/PV_SWIG/paravisSM.py @@ -1,9 +1,9 @@ -# Copyright (C) 2010-2013 CEA/DEN, EDF R&D +# Copyright (C) 2010-2016 CEA/DEN, EDF R&D # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public # License as published by the Free Software Foundation; either -# version 2.1 of the License. +# version 2.1 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -18,15 +18,14 @@ # r""" This module is a direct forward to the initial -'servermanager' module of ParaView. +'servermanager' module of ParaView. We keep it for backward compatibility only, +technically user could directly import 'paraview.servermanager'. """ from paraview import servermanager -from paravis import * for name in dir(servermanager): - if name != "__file__": + if not name.startswith("__"): globals()[name] = getattr(servermanager, name) del servermanager - -InitFromGUI() +