VirtualBox

Ignore:
Timestamp:
May 4, 2016 9:49:25 AM (9 years ago)
Author:
vboxsync
Message:

ValitdationKit/reporter: Fix Writing the LogFile tag in the local reporter, _xmlWrite takes an array of strings and not a single string (it would be broken up in single characters)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/testdriver/reporter.py

    r58908 r60818  
    459459
    460460            # Leave a mark in the XML log.
    461             self._xmlWrite('<LogFile timestamp="%s" filename="%s" source="%s" kind="%s" ok="%s">%s</LogFile>\n'
     461            self._xmlWrite(['<LogFile timestamp="%s" filename="%s" source="%s" kind="%s" ok="%s">%s</LogFile>\n'
    462462                % (utils.getIsoTimestamp(), self._xmlEscAttr(os.path.basename(sDstFilename)), self._xmlEscAttr(sSrcFilename), \
    463                    self._xmlEscAttr(sKind), fRc, self._xmlEscAttr(sDescription)) );
     463                   self._xmlEscAttr(sKind), fRc, self._xmlEscAttr(sDescription))] );
    464464        _ = sAltName;
    465465        return fRc;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette