Menu

#335 Incorrect use of rfile in xmlToXlsAction

0.49
open
nobody
Workflow
General-Bug
2017-09-06
2017-09-06
No

the use of rfile in open_workbook seems wrong. but it is reading from a done file, so it doesn't get anything

def do_action(self):
    table_name, format_name, format_class, = \
        StandardXML.Read_ResultSet_Metadata(self.rfile)
    book, sheet, = self.open_workbook(rfile=self.rfile, )
    index = self.write_first_row(sheet=sheet, )
    self.write_rows_to_sheet(
        sheet=sheet,
        index=index,
    )
    sheet.flush_row_data()
    self.close_workbook(book=book, )

Discussion


Log in to post a comment.

MongoDB Logo MongoDB