VirtualBox

Changeset 84034 in vbox for trunk/src/VBox/ValidationKit


Ignore:
Timestamp:
Apr 28, 2020 10:25:35 AM (5 years ago)
Author:
vboxsync
Message:

try to fix pylint message "consider-using-in".

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/tests/additions/tdAddBasic1.py

    r84017 r84034  
    366366            iRc = self.getAdditionsInstallerResult(oTxsSession);
    367367            # Check for rc == 0 just for completeness.
    368             if iRc == 0 \
    369             or iRc == 2: # Can happen if the GA installer has detected older VBox kernel modules running and needs a reboot.
     368            if iRc in (0, 2): # Can happen if the GA installer has detected older VBox kernel modules running and needs a reboot.
    370369                reporter.log('Guest has old(er) VBox kernel modules still running; requires a reboot');
    371370                fRc = True;
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