VirtualBox

忽略:
時間撮記:
2016-5-4 上午09:49:25 (9 年 以前)
作者:
vboxsync
訊息:

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)

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • 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;
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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