This commit is contained in:
0penBrain
2022-04-06 10:23:06 +02:00
committed by wwmayer
parent fbea5fdca5
commit 1928bfed63
2 changed files with 2 additions and 2 deletions

View File

@@ -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;
}

View File

@@ -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;
}