VirtualBox

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

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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