diff --git a/src/App/PropertyContainerPyImp.cpp b/src/App/PropertyContainerPyImp.cpp index 84e8c0d5ba..44c3c83623 100644 --- a/src/App/PropertyContainerPyImp.cpp +++ b/src/App/PropertyContainerPyImp.cpp @@ -459,7 +459,7 @@ PyObject* PropertyContainerPy::dumpPropertyContent(PyObject *args, PyObject *kwd prop->dumpToStream(stream, compression); } catch (...) { - PyErr_SetString(PyExc_IOError, "Unable parse content into binary representation"); + PyErr_SetString(PyExc_IOError, "Unable to parse content into binary representation"); return nullptr; } diff --git a/src/Base/PersistencePyImp.cpp b/src/Base/PersistencePyImp.cpp index 27bdade2c5..49a117a88f 100644 --- a/src/Base/PersistencePyImp.cpp +++ b/src/Base/PersistencePyImp.cpp @@ -71,7 +71,7 @@ PyObject* PersistencePy::dumpContent(PyObject *args, PyObject *kwds) getPersistencePtr()->dumpToStream(stream, compression); } catch (...) { - PyErr_SetString(PyExc_IOError, "Unable parse content into binary representation"); + PyErr_SetString(PyExc_IOError, "Unable to parse content into binary representation"); return nullptr; }