VirtualBox

儲存庫 vbox 的更動 59813


忽略:
時間撮記:
2016-2-25 上午09:09:02 (9 年 以前)
作者:
vboxsync
訊息:

ValidationKit: Pylint 1.3.1 warnings

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

圖例:

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

    r59425 r59813  
    15751575
    15761576
    1577     def innerMain(self, asArgs = None):
     1577    def innerMain(self, asArgs = None): # pylint: disable=R0915
    15781578        """
    15791579        Exception wrapped main() worker.
  • 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.
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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