Skip to content
Snippets Groups Projects
Commit 34f7e5e4 authored by lnx build's avatar lnx build Committed by Gerrit - the friendly Code Review server
Browse files

Merge "dcc_parser: Fix XML output" into opensource-tools.lnx.1.0-dev.1.0

parents 38cbab24 be01e4cd
Branches
No related tags found
No related merge requests found
......@@ -187,7 +187,7 @@ def dump_regs_json(options):
def dump_regs_xml(options):
log.info("Dumping regs in XML format in \'{0}\' file.".format(options.outfile))
parsed_data.info("<?xml version=\"1.0\" encoding=\"utf-8\"?>")
parsed_data.info("<hwioDump version=\"1\"")
parsed_data.info("<hwioDump version=\"1\">")
parsed_data.info("\t<timestamp>{0}</timestamp>".format(datetime.date.today().strftime('%m/%d/%y')))
parsed_data.info("\t<generator>Linux DCC Parser</generator>")
parsed_data.info("\t<chip name=\"{0}\" version=\"{1}\">".format(options.chipname, options.chipversion))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment