VirtualBox

Changeset 98641 in vbox


Ignore:
Timestamp:
Feb 20, 2023 9:58:20 AM (22 months ago)
Author:
vboxsync
Message:

Validation Kit: Fixed consider-using-dict-items pylint warnings.

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/testmanager/batch/virtual_test_sheriff.py

    r98591 r98641  
    12921292
    12931293        # Generalistic fallbacks:
    1294         for sKey in self.kdGATestFallbacks:
     1294        for sKey in self.kdGATestFallbacks.items():
    12951295            oTmpFailedResult = oFailedResult;
    12961296            while oTmpFailedResult:
  • trunk/src/VBox/ValidationKit/tests/unittests/tdUnitTest1.py

    r98571 r98641  
    10981098        if not self.fDryRun:
    10991099            if self.isRemoteMode():
    1100                 asRemoteEnvChg = ['%s=%s' % (sKey, dEnvChanges[sKey]) for sKey in dEnvChanges];
     1100                asRemoteEnvChg = ['%s=%s' % (sKey, dEnvChanges[sKey]) for sKey in dEnvChanges.items()];
    11011101
    11021102                fRc = self.txsRunTest(self.oTxsSession, sName, cMsTimeout = 30 * 60 * 1000, sExecName = asArgs[0],
     
    11131113                        iRc = -1; ## @todo
    11141114            else:
    1115                 for sKey in dEnvChanges:
     1115                for sKey in dEnvChanges.items():
    11161116                    os.environ[sKey] = dEnvChanges[sKey];
    11171117
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