improve whitespaces
This commit is contained in:
@@ -210,14 +210,14 @@ Py::List DocumentObjectPy::getInList(void) const
|
||||
Py::List DocumentObjectPy::getInListRecursive(void) const
|
||||
{
|
||||
Py::List ret;
|
||||
try{
|
||||
|
||||
try {
|
||||
std::vector<DocumentObject*> list = getDocumentObjectPtr()->getInListRecursive();
|
||||
|
||||
for (std::vector<DocumentObject*>::iterator It = list.begin(); It != list.end(); ++It)
|
||||
ret.append(Py::Object((*It)->getPyObject(), true));
|
||||
|
||||
}catch (const Base::Exception& e) {
|
||||
}
|
||||
catch (const Base::Exception& e) {
|
||||
throw Py::IndexError(e.what());
|
||||
}
|
||||
return ret;
|
||||
@@ -238,7 +238,6 @@ Py::List DocumentObjectPy::getOutListRecursive(void) const
|
||||
{
|
||||
Py::List ret;
|
||||
try {
|
||||
|
||||
std::vector<DocumentObject*> list = getDocumentObjectPtr()->getOutListRecursive();
|
||||
|
||||
// creat the python list for the output
|
||||
|
||||
Reference in New Issue
Block a user