]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
Fix mispell
authorgdd <gdd>
Tue, 18 Jan 2011 09:47:54 +0000 (09:47 +0000)
committergdd <gdd>
Tue, 18 Jan 2011 09:47:54 +0000 (09:47 +0000)
src/GEOM_SWIG/geompyDC.py

index 5f84eb89b242a18bc4df0e7d3847e17becb604dd..a84110f46c3cddc5dc1fbfeedc7801babc7ca660 100644 (file)
@@ -3479,7 +3479,7 @@ class geompyDC(GEOM._objref_GEOM_Gen):
                 if typeSh in ( "AUTO", "SHAPE" ): continue
                 listSh = self.SubShapeAllIDs(theShape, ShapeType[typeSh])
                 Nb = len(listSh)
-                if EnumToLon(theShape.GetShapeType()) == ShapeType[typeSh]:
+                if EnumToLong(theShape.GetShapeType()) == ShapeType[typeSh]:
                     Nb = Nb + 1
                     pass
                 aDict[typeSh] = Nb