-# Copyright (C) 2010-2014 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
#
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.servermanager import *
+from paraview import servermanager
-# for name in dir(servermanager):
-# if name != "__file__":
-# globals()[name] = getattr(servermanager, name)
-# del servermanager
-#
+for name in dir(servermanager):
+ if not name.startswith("__"):
+ globals()[name] = getattr(servermanager, name)
+del servermanager
+