From c1f0bf236502bacb1fb90d8e7ef5ab7c91c6851d Mon Sep 17 00:00:00 2001 From: jfa Date: Fri, 30 Nov 2007 08:22:12 +0000 Subject: [PATCH] Fix error. --- src/GEOM_SWIG/geompyDC.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GEOM_SWIG/geompyDC.py b/src/GEOM_SWIG/geompyDC.py index d5704858f..a684cf24b 100644 --- a/src/GEOM_SWIG/geompyDC.py +++ b/src/GEOM_SWIG/geompyDC.py @@ -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() # ----------------------------------------------------------------------------- -- 2.39.2