X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPV_SWIG%2FparavisSM.py;h=f70949dbef0c4135d243eee29391129674300d4c;hb=4176390008721b17e23ff08bcce1ce6b57abc4c5;hp=d58f4edd69dad3b5503ac737c1736f67c6e10bff;hpb=f97aa0a72a48a5411faa8d0defd3cf4b54f4c305;p=modules%2Fparavis.git diff --git a/src/PV_SWIG/paravisSM.py b/src/PV_SWIG/paravisSM.py index d58f4edd..f70949db 100644 --- a/src/PV_SWIG/paravisSM.py +++ b/src/PV_SWIG/paravisSM.py @@ -1,4 +1,4 @@ -# Copyright (C) 2010-2014 CEA/DEN, EDF R&D +# Copyright (C) 2010-2015 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 @@ -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() +