Salome HOME
Copyrights update 2015.
[modules/paravis.git] / test / VisuPrs / MeshPresentation / L1.py
index 687cc20565894b430905d793bf1f6b6e37c4ab9c..804a02eb59bb5a45c5ad55bc01b6b977fefb3a9f 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
@@ -24,7 +24,7 @@ import sys
 from paravistest import datadir, pictureext, get_picture_dir
 from presentations import *
 from pvsimple import *
-import paravis
+import pvserver as paravis
 
 # Create presentations
 myParavis = paravis.myParavis
@@ -36,7 +36,7 @@ print "file ", theFileName
 print " --------------------------------- "
 
 
-result = myParavis.ImportFile(theFileName)
+result = OpenDataFile(theFileName)
 aProxy = GetActiveSource()
 if aProxy is None:
        raise RuntimeError, "Error: can't import file."