]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/PythonAddons/addons_Features.py
Salome HOME
Porting to SALOME 9.1.0.
[modules/shaper.git] / src / PythonAddons / addons_Features.py
index b5ebf59fa6f3585a3d593f49aea374f1c49a7fb0..3fcb67d129c2e4dcc0a26dae7ac6666c25397e99 100644 (file)
@@ -50,7 +50,7 @@ class PythonFeaturesPlugin(ModelAPI.ModelAPI_Plugin):
             aFeature = SketchPlugin_Rectangle().__disown__()
 
         else:
-            raise StandardError("No such feature %s" % theFeatureID)
+            raise Exception("No such feature %s" % theFeatureID)
 
         return aFeature