VirtualBox

儲存庫 vbox 的更動 82951


忽略:
時間撮記:
2020-2-1 下午02:00:04 (5 年 以前)
作者:
vboxsync
svn:sync-xref-src-repo-rev:
135955
訊息:

ValKit: Fixes for new pylint.

位置:
trunk/src/VBox/ValidationKit
檔案:
修改 3 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/ValidationKit/testdriver/vboxtestvms.py

    r81435 r82951  
    331331                self.acCpusSup = [1];
    332332            elif self.aInfo is not None:
    333                 self.acCpusSup = [i for i in range(self.aInfo[g_iMinCpu], self.aInfo[g_iMaxCpu]) ];
     333                self.acCpusSup = list(range(self.aInfo[g_iMinCpu], self.aInfo[g_iMaxCpu]));
    334334            else:
    335335                self.acCpusSup = [1];
     
    10761076                self.acCpusSup = [1];
    10771077            elif self.aInfo is not None:
    1078                 self.acCpusSup = [i for i in range(self.aInfo[g_iMinCpu], self.aInfo[g_iMaxCpu]) ];
     1078                self.acCpusSup = list(range(self.aInfo[g_iMinCpu], self.aInfo[g_iMaxCpu]));
    10791079            else:
    10801080                self.acCpusSup = [1];
  • trunk/src/VBox/ValidationKit/tests/additions/tdAddBasic1.py

    r79087 r82951  
    322322
    323323    def testLinuxInstallAdditions(self, oSession, oTxsSession, oTestVm):
    324         oSession = oSession;
    325         oTestVm = oTestVm;
     324        _ = oSession;
     325        _ = oTestVm;
    326326
    327327        fRc = False;
  • trunk/src/VBox/ValidationKit/tests/storage/tdStorageBenchmark1.py

    r82623 r82951  
    12811281                    fRc = self.mountValidationKitIso(oExecVm);
    12821282                    if fRc:
    1283                         oGstDiskCfg = storagecfg.DiskCfg('linux', storagecfg.g_ksDiskCfgList, \
     1283                        oGstDiskCfg = storagecfg.DiskCfg('linux', storagecfg.g_ksDiskCfgList,
    12841284                                                         self.getGuestDisk(oSession, oTxsSession, eStorageController));
    12851285                        oStorCfgVm = storagecfg.StorageCfg(oExecVm, oGstDiskCfg);
     
    12911291                                reporter.log('Prepared storage on %s try' % (iTry + 1,));
    12921292                                break;
    1293                             else:
    1294                                 iTry = iTry + 1;
    1295                                 self.sleep(5);
     1293                            iTry = iTry + 1;
     1294                            self.sleep(5);
    12961295
    12971296                        if sMountPoint is not None:
    12981297                            # 3 hours max (Benchmark and QED takes a lot of time)
    1299                             self.testBenchmark('linux', sIoTest, sMountPoint, oExecVm, dTestSet, \
    1300                                                cMsTimeout = 3 * 3600 * 1000);
     1298                            self.testBenchmark('linux', sIoTest, sMountPoint, oExecVm, dTestSet, cMsTimeout = 3 * 3600 * 1000);
    13011299                            self.cleanupStorage(oStorCfgVm);
    13021300                        else:
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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