Salome HOME
projects
/
modules
/
paravis.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'abn/cleanup'
[modules/paravis.git]
/
src
/
PV_SWIG
/
paravisSM.py
diff --git
a/src/PV_SWIG/paravisSM.py
b/src/PV_SWIG/paravisSM.py
index d58f4edd69dad3b5503ac737c1736f67c6e10bff..f70949dbef0c4135d243eee29391129674300d4c 100644
(file)
--- a/
src/PV_SWIG/paravisSM.py
+++ b/
src/PV_SWIG/paravisSM.py
@@
-1,4
+1,4
@@
-# Copyright (C) 2010-201
4
CEA/DEN, EDF R&D
+# Copyright (C) 2010-201
5
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
#
# 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
#
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 paraview import servermanager
-from paravis import *
for name in dir(servermanager):
for name in dir(servermanager):
- if n
ame != "__file__"
:
+ if n
ot name.startswith("__")
:
globals()[name] = getattr(servermanager, name)
del servermanager
globals()[name] = getattr(servermanager, name)
del servermanager
-
-InitFromGUI()
+