You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Bryan Duxbury (JIRA)" <ji...@apache.org> on 2010/09/02 16:21:55 UTC
[jira] Closed: (THRIFT-673) Generated Python code has whitespace
issues
[ https://issues.apache.org/jira/browse/THRIFT-673?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bryan Duxbury closed THRIFT-673.
--------------------------------
Assignee: Ian Eure
Fix Version/s: 0.5
Resolution: Fixed
I just committed this.
> Generated Python code has whitespace issues
> -------------------------------------------
>
> Key: THRIFT-673
> URL: https://issues.apache.org/jira/browse/THRIFT-673
> Project: Thrift
> Issue Type: Improvement
> Components: Python - Compiler
> Affects Versions: 0.2
> Environment: Irrelevant.
> Reporter: Ian Eure
> Assignee: Ian Eure
> Priority: Minor
> Fix For: 0.5
>
> Attachments: patch-src-whitespace.diff
>
>
> 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.