VirtualBox

Changeset 98998 in vbox


Ignore:
Timestamp:
Mar 16, 2023 9:34:21 AM (2 years ago)
Author:
vboxsync
Message:

Validation Kit: pylint 2.12.2 fixes.

Location:
trunk/src/VBox/ValidationKit
Files:
2 edited

Legend:

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

    r98992 r98998  
    12491249                    if sUefiMokPathPrefix is not None:
    12501250                        sFullName = self.oTstDrv.getFullResourceName(sUefiMokPathPrefix) + '.der';
    1251                         with open(sFullName, "rb") as f:
    1252                             self.o.machine.nonVolatileStore.uefiVariableStore.addSignatureToMok(bytearray(f.read()), uuid.uuid4().hex, vboxcon.SignatureType_X509);
     1251                        with open(sFullName, "rb") as der_file:
     1252                            self.o.machine.nonVolatileStore.uefiVariableStore.addSignatureToMok(bytearray(der_file.read()), \
     1253                                                                                                uuid.uuid4().hex, \
     1254                                                                                                vboxcon.SignatureType_X509);
    12531255
    12541256                self.o.machine.nonVolatileStore.uefiVariableStore.secureBootEnabled = fEnable;
  • trunk/src/VBox/ValidationKit/tests/additions/tdAddBasic1.py

    r98992 r98998  
    524524                iRc = self.getAdditionsInstallerResult(oTxsSession);
    525525                # Check for rc == 0 just for completeness.
    526                 if iRc in (0, 2): # Can happen if the GA installer has detected older VBox kernel modules running and needs a reboot.
     526                if iRc in (0, 2): # Can happen if the GA installer has detected older VBox kernel modules running
     527                                  # and needs a reboot.
    527528                    reporter.log('Guest has old(er) VBox kernel modules still running; requires a reboot');
    528529                    fRc = True;
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