VirtualBox

Ignore:
Timestamp:
Feb 25, 2016 9:09:02 AM (9 years ago)
Author:
vboxsync
Message:

ValidationKit: Pylint 1.3.1 warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/tests/usb/tdUsb1.py

    r58937 r59813  
    191191            if iArg >= len(asArgs): raise base.InvalidOption('The "--usb-reattach-cycles" takes cycle count');
    192192            try:    self.cUsbReattachCycles = int(asArgs[iArg]);
    193             except: raise base.InvalidOption('The "--usb-reattach-cycles" value "%s" is not an integer' % (asArgs[iArg],));
     193            except: raise base.InvalidOption('The "--usb-reattach-cycles" value "%s" is not an integer' \
     194                    % (asArgs[iArg],));
    194195            if self.cUsbReattachCycles <= 0:
    195                 raise base.InvalidOption('The "--usb-reattach-cycles" value "%s" is zero or negative.' % (self.cUsbReattachCycles,));
     196                raise base.InvalidOption('The "--usb-reattach-cycles" value "%s" is zero or negative.' \
     197                    % (self.cUsbReattachCycles,));
    196198        else:
    197199            return vbox.TestDriver.parseOption(self, asArgs, iArg);
     
    323325        return fRc;
    324326
    325     def testUsbReattach(self, oSession, oTxsSession, sUsbCtrl, sSpeed):
     327    def testUsbReattach(self, oSession, oTxsSession, sUsbCtrl, sSpeed): # pylint: disable=W0613
    326328        """
    327329        Tests that rapid connect/disconnect cycles work.
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