MOD: SANDBOX clean

clean code
This commit is contained in:
Andrea
2025-03-31 22:23:19 +02:00
committed by Chris Hennes
parent e7d29290b7
commit 94eaba4674
5 changed files with 0 additions and 85 deletions

View File

@@ -211,10 +211,6 @@ Py::Object DocumentObjectProtectorPy::getattr(const char * attr)
App::Property* prop = obj->getPropertyByName(attr);
if (!prop) {
return Py::PythonExtension<DocumentObjectProtectorPy>::getattr(attr);
//std::string s;
//std::ostringstream s_out;
//s_out << "No such attribute '" << attr << "'";
//throw Py::AttributeError(s_out.str());
}
return Py::asObject(prop->getPyObject());