VirtualBox

Ignore:
Timestamp:
Mar 16, 2023 9:34:21 AM (2 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
156348
Message:

Validation Kit: pylint 2.12.2 fixes.

File:
1 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;
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