]> SALOME platform Git repositories - plugins/netgenplugin.git/commitdiff
Salome HOME
Porting to Python 3 (1st draft)
authorGilles DAVID <gilles-g.david@edf.fr>
Wed, 29 Mar 2017 15:50:12 +0000 (17:50 +0200)
committerGilles DAVID <gilles-g.david@edf.fr>
Wed, 29 Mar 2017 15:50:12 +0000 (17:50 +0200)
src/NETGENPlugin/NETGENPluginBuilder.py

index d5f9460d588489a986fc1e477dbe0ad326026e84..932500d85d1e9be3e4ea2c36a4625d40d71af566 100644 (file)
@@ -105,7 +105,7 @@ class NETGEN_Algorithm(Mesh_Algorithm):
     #              if it is @c 0 (default), the algorithm is assigned to the main shape
     def __init__(self, mesh, geom=0):
         Mesh_Algorithm.__init__(self)
-        if noNETGENPlugin: print "Warning: NETGENPlugin module unavailable"
+        if noNETGENPlugin: print("Warning: NETGENPlugin module unavailable")
         self.Create(mesh, geom, self.algoType, LIBRARY)
         self.params = None
         pass