]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
Fix error.
authorjfa <jfa@opencascade.com>
Fri, 30 Nov 2007 08:22:12 +0000 (08:22 +0000)
committerjfa <jfa@opencascade.com>
Fri, 30 Nov 2007 08:22:12 +0000 (08:22 +0000)
src/GEOM_SWIG/geompyDC.py

index d5704858fc7c4d6f044469a689a57b829d23b906..a684cf24b94818c945be6587fb6c09930b47c8a1 100644 (file)
@@ -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()
 
 # -----------------------------------------------------------------------------