VirtualBox

Ignore:
Timestamp:
Nov 24, 2022 11:46:15 AM (2 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
154728
Message:

Validation Kit: Fixed lots of warnings, based on pylint 2.12.2.

Location:
trunk/src/VBox/ValidationKit/testboxscript
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/testboxscript/testboxcommand.py

    r96407 r97673  
    286286        try:
    287287            sCmdName = oResponse.getStringChecked(constants.tbresp.ALL_PARAM_RESULT);
    288         except Exception as oXcpt:
     288        except:
    289289            oConnection.close();
    290290            return False;
  • trunk/src/VBox/ValidationKit/testboxscript/testboxconnection.py

    r96407 r97673  
    9393        else:
    9494            # Special case, dummy response object.
    95             self._dResponse = dict();
     95            self._dResponse = {};
    9696        # Done.
    9797
     
    230230        """
    231231        if dParams is None:
    232             dParams = dict();
     232            dParams = {};
    233233        dParams[constants.tbreq.ALL_PARAM_TESTBOX_ID]   = self._sTestBoxId;
    234234        dParams[constants.tbreq.ALL_PARAM_TESTBOX_UUID] = self._sTestBoxUuid;
  • trunk/src/VBox/ValidationKit/testboxscript/testboxtasks.py

    r96407 r97673  
    100100        self._lock();
    101101        self._fRunning = False;
    102         self._oCv.notifyAll();
     102        self._oCv.notifyAll(); # pylint: disable=deprecated-method
    103103        self._unlock();
    104104
Note: See TracChangeset for help on using the changeset viewer.

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