VirtualBox

Ignore:
Timestamp:
May 30, 2016 3:25:41 PM (9 years ago)
Author:
vboxsync
Message:

wuireport.py: shorter, better.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/testmanager/webui/wuireport.py

    r61301 r61303  
    589589            sHtml += u'<td>%s</td>' % (webutils.escapeElem(sOsAndVer),);
    590590        else: # wonder if td.title works..
    591             sHtml += u'<td title="%s" width="1%%" style="white-space:nowrap;">%s...</td>' % (webutils.escapeAttr(sOsAndVer), webutils.escapeElem(sOsAndVer[:20]));
    592         sHtml += u'<td>%s</td>'    % (webutils.escapeElem(oTestBox.sCpuArch),);
    593         sHtml += u'<td>%s</td>'    % (webutils.escapeElem(oTestBox.sCpuVendor),);
     591            sHtml += u'<td title="%s" width="1%%" style="white-space:nowrap;">%s...</td>' \
     592                  % (webutils.escapeAttr(sOsAndVer), webutils.escapeElem(sOsAndVer[:20]));
     593        sHtml += u'<td>%s</td>'    % (webutils.escapeElem(oTestBox.getCpuBitString()),);
     594        sHtml += u'<td>%s</td>'    % (webutils.escapeElem(oTestBox.getPrettyCpuVendor()),);
    594595        sHtml += u'<td>f=%#x, m=%#x, s=%#x' % (oTestBox.getCpuFamily(), oTestBox.getCpuModel(), oTestBox.getCpuStepping(),)
    595596        if oTestBox.fCpuNestedPaging:   sHtml += u', np';
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