issue #1700 replace PyExc_Exception

This commit is contained in:
Sebastian Hoogen
2014-08-29 21:12:45 +02:00
committed by wmayer
parent 1b1d8010a6
commit ed66ada1cf
21 changed files with 64 additions and 64 deletions

View File

@@ -1252,14 +1252,14 @@ PyObject* MeshPy::collapseFacets(PyObject *args)
facets.push_back(iIdx);
}
else {
Py_Error(PyExc_Exception, "list of integers needed");
Py_Error(Base::BaseExceptionFreeCADError, "list of integers needed");
}
}
getMeshObjectPtr()->collapseFacets(facets);
}
else {
Py_Error(PyExc_Exception, "List of Integers needed");
Py_Error(Base::BaseExceptionFreeCADError, "List of Integers needed");
}
Py_Return;