VirtualBox

Ignore:
Timestamp:
Mar 8, 2022 2:57:25 PM (3 years ago)
Author:
vboxsync
Message:

testmanager: pylint 2.9.6 adjustments (mostly about using sub-optimal looping and 'with' statements).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/testmanager/webui/wuihlpgraphmatplotlib.py

    r93115 r94129  
    129129        for i in range(1, len(aoTable)):
    130130            asNames.append(aoTable[i].sName);
    131             for j in range(len(aoTable[i].aoValues)):
    132                 fpValue = float(aoTable[i].aoValues[j]);
     131            for j, oValue in enumerate(aoTable[i].aoValues):
     132                fpValue = float(oValue);
    133133                aoSeries[j].append(fpValue);
    134134                if fpValue < fpMin:
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