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


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