mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-15 10:08:34 +05:00
fix raising exception in algoCreator.__call__()
This commit is contained in:
parent
f932a6abb6
commit
ae4c8e00df
@ -4336,7 +4336,7 @@ class algoCreator:
|
||||
if self.algoTypeToClass.has_key( algoType ):
|
||||
#print "Create algo",algoType
|
||||
return self.algoTypeToClass[ algoType ]( self.mesh, geom )
|
||||
raise RuntimeError, "No class found for algo type" % algoType
|
||||
raise RuntimeError, "No class found for algo type %s" % algoType
|
||||
return None
|
||||
|
||||
# Private class used to substitute and store variable parameters of hypotheses.
|
||||
|
Loading…
Reference in New Issue
Block a user