Salome HOME
Merge branch 'abn/cleanup'
[modules/paravis.git] / src / PV_SWIG / paravisSM.py
index d58f4edd69dad3b5503ac737c1736f67c6e10bff..f70949dbef0c4135d243eee29391129674300d4c 100644 (file)
@@ -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
 #
 
 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()