From d20b0d9dae343f26df2ecf4d985f03dd64bf4b21 Mon Sep 17 00:00:00 2001 From: Syres916 <46537884+Syres916@users.noreply.github.com> Date: Tue, 5 Sep 2023 09:18:46 +0100 Subject: [PATCH] [App] Remove mistaken commit --- src/App/PropertyPythonObject.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/App/PropertyPythonObject.cpp b/src/App/PropertyPythonObject.cpp index e71d061f7c..c519dfb6a4 100644 --- a/src/App/PropertyPythonObject.cpp +++ b/src/App/PropertyPythonObject.cpp @@ -87,7 +87,6 @@ std::string PropertyPythonObject::toString() const throw Py::Exception(); Py::Callable method(pickle.getAttr(std::string("dumps"))); Py::Object dump; -#if PY_VERSION_HEX < 0x03b0000 if (this->object.hasAttr("__getstate__")) { Py::Tuple args; Py::Callable state(this->object.getAttr("__getstate__")); @@ -99,9 +98,6 @@ std::string PropertyPythonObject::toString() const else { dump = this->object; } -#else - dump = this->object; -#endif Py::Tuple args(1); args.setItem(0, dump);