mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-11-15 01:58:36 +05:00
Fix error.
This commit is contained in:
parent
3d4c815fdc
commit
c1f0bf2365
@ -47,7 +47,7 @@ ShapeType = {"COMPOUND":0, "COMPSOLID":1, "SOLID":2, "SHELL":3, "FACE":4, "WIRE"
|
||||
# -----------------------------------------------------------------------------
|
||||
def RaiseIfFailed (Method_name, Operation):
|
||||
#NPAL18017#if Operation.IsDone() == 0:
|
||||
if operation.IsDone() == 0 and operation.GetErrorCode() != "NOT_FOUND_ANY":
|
||||
if Operation.IsDone() == 0 and Operation.GetErrorCode() != "NOT_FOUND_ANY":
|
||||
raise RuntimeError, Method_name + " : " + Operation.GetErrorCode()
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user