Porting to Python 3 (1st draft)

This commit is contained in:
Gilles DAVID 2017-03-29 17:50:12 +02:00
parent 6a883c4b4a
commit 65737d0c54

View File

@ -105,7 +105,7 @@ class NETGEN_Algorithm(Mesh_Algorithm):
# if it is @c 0 (default), the algorithm is assigned to the main shape # if it is @c 0 (default), the algorithm is assigned to the main shape
def __init__(self, mesh, geom=0): def __init__(self, mesh, geom=0):
Mesh_Algorithm.__init__(self) 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.Create(mesh, geom, self.algoType, LIBRARY)
self.params = None self.params = None
pass pass