mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-05-19 00:50:50 +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):
|
def RaiseIfFailed (Method_name, Operation):
|
||||||
#NPAL18017#if Operation.IsDone() == 0:
|
#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()
|
raise RuntimeError, Method_name + " : " + Operation.GetErrorCode()
|
||||||
|
|
||||||
# -----------------------------------------------------------------------------
|
# -----------------------------------------------------------------------------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user