From 5cb11cb562d0f792372be0a26782efc62608c61b Mon Sep 17 00:00:00 2001 From: 0penBrain <48731257+0penBrain@users.noreply.github.com> Date: Wed, 6 Apr 2022 10:23:06 +0200 Subject: [PATCH] Fix typo --- src/App/PropertyContainerPyImp.cpp | 2 +- src/Base/PersistencePyImp.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; }