Generated Python code has whitespace issues
-------------------------------------------
Key: THRIFT-673
URL: https://issues.apache.org/jira/browse/THRIFT-673
Project: Thrift
Issue Type: Improvement
Components: Compiler (Python)
Affects Versions: 0.2
Environment: Irrelevant.
Reporter: Ian Eure
Priority: Minor
Fix For: 0.2
The Python code generator produces code with a number of whitespace issues:
- Trailing whitespace at the end of lines.
- Multiple blank newlines at the end of files.
Both of these issues cause problems if the code is used in a Git repository
with `git diff --check' in a hook. The attached patch corrects the code
generation to address these issues.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.