[ 
https://issues.apache.org/jira/browse/THRIFT-1092?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Will Pierce updated THRIFT-1092:
--------------------------------

    Attachment: THRIFT-1092.python_validate_indent.patch

moves def validate(self) generation to the correct level, and inserts a newline 
between def write and def validate



> generated validate() method has wrong indentation
> -------------------------------------------------
>
>                 Key: THRIFT-1092
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1092
>             Project: Thrift
>          Issue Type: Bug
>          Components: Python - Compiler
>    Affects Versions: 0.6
>            Reporter: Will Pierce
>            Priority: Minor
>         Attachments: THRIFT-1092.python_validate_indent.patch
>
>
> The generated validate() method is indented to the wrong level, making it an 
> internal/unusable method inside the write() method of a struct
> Looks like the line to generate the validator just needs to move down a 
> couple lines, past an indent_down() call.  I have a patch that fixes this.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to