+ restore lost changes, improve whitspaces, suppress useless MSVC warnings

This commit is contained in:
wmayer
2014-08-28 12:37:42 +02:00
parent f4e7a2e2a0
commit 5c269996b8
8 changed files with 16 additions and 8 deletions

View File

@@ -54,7 +54,7 @@ DocumentObjectExecReturn *FeaturePythonImp::execute()
Py::Object feature = static_cast<PropertyPythonObject*>(proxy)->getValue();
if (feature.hasAttr("__object__")) {
Py::Callable method(feature.getAttr(std::string("execute")));
Py::Tuple args;
Py::Tuple args;
method.apply(args);
}
else {

View File

@@ -89,7 +89,7 @@ std::string PropertyPythonObject::toString() const
Py::Callable method(pickle.getAttr(std::string("dumps")));
Py::Object dump;
if (this->object.hasAttr("__getstate__")) {
Py::Tuple args;
Py::Tuple args;
Py::Callable state(this->object.getAttr("__getstate__"));
dump = state.apply(args);
}