Salome HOME
Merge branch 'omu/insitu'
[modules/paravis.git] / src / PV_SWIG / paravisSM.py
index 1586fcdf15d7f1c56af947e30e50ab2d0cfdc396..32bca857d4d60fe169d1dd4f1364e6e9765454d5 100644 (file)
@@ -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
 #
 
 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()