diff options
author | Guilherme Salgado <salgado@canonical.com> | 2011-01-14 10:10:16 -0600 |
---|---|---|
committer | Guilherme Salgado <salgado@canonical.com> | 2011-01-14 10:10:16 -0600 |
commit | 513d74284df19553ddda062589df4ba1f00122f3 (patch) | |
tree | 07ce942f6836f21667e3281bf301d381487da71e /linaro_media_create | |
parent | a43f87e53487a2312fddc41d912a5df1c4a34097 (diff) |
Add a comment mentioning the UDisks bug I've reported
Diffstat (limited to 'linaro_media_create')
-rw-r--r-- | linaro_media_create/partitions.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/linaro_media_create/partitions.py b/linaro_media_create/partitions.py index 3c7141e..4a1b8c0 100644 --- a/linaro_media_create/partitions.py +++ b/linaro_media_create/partitions.py @@ -191,6 +191,8 @@ def _get_device_file_for_partition_number(device, partition): e.g. /dev/sda1 for the first partition on device /dev/sda or /dev/mmcblk0p3 for the third partition on /dev/mmcblk0. """ + # This could be simpler but UDisks doesn't make it easy for us: + # https://bugs.freedesktop.org/show_bug.cgi?id=33113. for dev_file in glob.glob("%s?*" % device): device_path = _get_udisks_device_path(dev_file) udisks_dev = dbus.SystemBus().get_object(UDISKS, device_path) |