VirtualBox

Changeset 54122 in vbox for trunk


Ignore:
Timestamp:
Feb 10, 2015 11:03:11 AM (10 years ago)
Author:
vboxsync
Message:

Fix pylint errors

Location:
trunk/src/VBox/ValidationKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/testdriver/vboxwrappers.py

    r54118 r54122  
    10691069        try:
    10701070            if fEnable:
    1071                     cXhciCtls = self.o.machine.getUSBControllerCountByType(vboxcon.USBControllerType_XHCI);
    1072                     if cXhciCtls == 0:
    1073                         self.o.machine.addUSBController('XHCI', vboxcon.USBControllerType_XHCI);
     1071                cXhciCtls = self.o.machine.getUSBControllerCountByType(vboxcon.USBControllerType_XHCI);
     1072                if cXhciCtls == 0:
     1073                    self.o.machine.addUSBController('XHCI', vboxcon.USBControllerType_XHCI);
    10741074            else:
    10751075                cXhciCtls = self.o.machine.getUSBControllerCountByType(vboxcon.USBControllerType_XHCI);
  • trunk/src/VBox/ValidationKit/tests/usb/tdUsb1.py

    r54118 r54122  
    251251            return kdGadgetsConfigured.get(sSpeed);
    252252
    253         return None;
     253        return (None, None);
    254254
    255255    #
    256256    # Test execution helpers.
    257257    #
    258     def testUsbCompliance(self, oSession, oTxsSession, sVmName, sSpeed):
     258    def testUsbCompliance(self, oSession, oTxsSession, sSpeed):
    259259        """
    260260        Test VirtualBoxs USB stack in a VM.
     
    332332                self.sleep(5);
    333333
    334                 fRc = self.testUsbCompliance(oSession, oTxsSession, sVmName, sSpeed);
     334                fRc = self.testUsbCompliance(oSession, oTxsSession, sSpeed);
    335335
    336336                # cleanup.
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