r758558 introduced a but that caused some of the generated docstrings
to be indented incorrectly, resulting in syntactically invalid code.
This commit fixes the indentation.
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@760118
13f79535-47bb-0310-9956-
ffa450edef68
for (f_iter = functions.begin(); f_iter != functions.end(); ++f_iter) {
f_service_ <<
indent() << "def " << function_signature_if(*f_iter) << ":" << endl;
+ indent_up();
generate_python_docstring(f_service_, (*f_iter));
f_service_ <<
- indent() << " pass" << endl << endl;
+ indent() << "pass" << endl << endl;
+ indent_down();
}
}