This commit is contained in:
Kovid Goyal 2007-10-07 20:33:50 +00:00
parent 3f0099a2e1
commit f2d3870a5a

View File

@ -137,11 +137,12 @@ class Device(Structure):
class Bus(Structure): class Bus(Structure):
@apply @apply
def device_list(): def device_list():
doc = """ doc = \
Flat list of devices on this bus. """
Note: children are not explored Flat list of devices on this bus.
TODO: Check if exploring children is neccessary (e.g. with an external hub) Note: children are not explored
""" TODO: Check if exploring children is neccessary (e.g. with an external hub)
"""
def fget(self): def fget(self):
if _libusb.usb_find_devices() < 0: if _libusb.usb_find_devices() < 0:
raise Error('Unable to search for USB devices') raise Error('Unable to search for USB devices')