prepare for PyCXX 7.0
This commit is contained in:
@@ -43,7 +43,7 @@ PyObject* DrawViewSymbolPy::dumpSymbol(PyObject *args)
|
||||
} else {
|
||||
std::string error = std::string("Can't write ");
|
||||
error += fileSpec;
|
||||
throw Py::Exception(error);
|
||||
throw Py::RuntimeError(error);
|
||||
}
|
||||
Py_Return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user