Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-1806

Python generation always truncates __init__.py files

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.9.1
    • Python - Compiler
    • None

    Description

      When generating python code the generator correctly creates _init.py file for each directory. If the __init_.py file has contents it is always overwritten. This usually isn't a problem unless using the -out flag, then there is a potential to erase non generated code.

      Attachments

        1. thrift-1806.patch
          0.6 kB
          Nathaniel Cook

        Activity

          People

            nvcook42 Nathaniel Cook
            nvcook42 Nathaniel Cook
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: