def Devices(args):
    """Lists the available devices.

    List of devices attached
    015DB7591102001A        device
    """
    for device in fastboot.FastbootCommands.Devices():
        print('%s\tdevice' % device.serial_number)
    return 0
Lists the available devices.

    List of devices attached
    015DB7591102001A        device
    
adb/fastboot_debug.py