VirtualBox

Changeset 66302 in vbox for trunk


Ignore:
Timestamp:
Mar 28, 2017 2:09:03 PM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
114229
Message:

ValidationKit: in getHostOsVersion() also print the SP major/minor if not 0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/common/utils.py

    r66271 r66302  
    244244        if rc == 0:
    245245            sVersion += ' build ' + str(oOsVersion.dwBuildNumber)
     246            if oOsVersion.wServicePackMajor:
     247                sVersion += ' SP' + str(oOsVersion.wServicePackMajor)
     248                if oOsVersion.wServicePackMinor:
     249                    sVersion += '.' + str(oOsVersion.wServicePackMinor)
    246250
    247251    return sVersion;
Note: See TracChangeset for help on using the changeset viewer.

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