From: Gilles DAVID Date: Wed, 29 Mar 2017 15:50:12 +0000 (+0200) Subject: Porting to Python 3 (1st draft) X-Git-Tag: V9_0_0~2^2~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=65737d0c54d00d4c90d42806a0ca20d2bc825f08;p=plugins%2Fnetgenplugin.git Porting to Python 3 (1st draft) --- diff --git a/src/NETGENPlugin/NETGENPluginBuilder.py b/src/NETGENPlugin/NETGENPluginBuilder.py index d5f9460..932500d 100644 --- a/src/NETGENPlugin/NETGENPluginBuilder.py +++ b/src/NETGENPlugin/NETGENPluginBuilder.py @@ -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