Message ID | 20110502080412.5510.60511.launchpad@loganberry.canonical.com |
---|---|
State | Accepted |
Headers | show |
=== modified file 'linaro_image_tools/media_create/check_device.py' --- linaro_image_tools/media_create/check_device.py 2011-03-23 22:25:10 +0000 +++ linaro_image_tools/media_create/check_device.py 2011-04-28 11:08:45 +0000 @@ -70,6 +70,7 @@ bus, udisks = _get_system_bus_and_udisks_iface() print '%-16s %-16s %s' % ('Device', 'Mount point', 'Size') devices = udisks.get_dbus_method('EnumerateDevices')() + devices.sort() for path in devices: device = bus.get_object("org.freedesktop.UDisks", path) device_file = _get_dbus_property('DeviceFile', device, path)