prepare for PyCXX 7.0

This commit is contained in:
wmayer
2018-04-18 19:20:50 +02:00
parent 08286c407e
commit 99ec96acd5
36 changed files with 226 additions and 239 deletions

View File

@@ -367,7 +367,7 @@ Py::Object ProgressIndicatorPy::next(const Py::Tuple& args)
}
catch (const Base::AbortException&) {
_seq.reset();
throw Py::Exception("abort progress indicator");
throw Py::RuntimeError("abort progress indicator");
}
}
return Py::None();