diff options
Diffstat (limited to 'minihal.py')
-rw-r--r-- | minihal.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/minihal.py b/minihal.py index 6d4e6dece..8ab93d4bf 100644 --- a/minihal.py +++ b/minihal.py @@ -53,6 +53,10 @@ def get_device(udi): pdev = get_device(props['net.originating_device']) props['description'] = pdev['description'] + # mmc block devices don't show up as disks (#481431) + if props.has_key('storage.drive_type') and props['storage.drive_type'] == "sd_mmc": + props['storage.drive_type'] = "disk" + return props def get_devices_by_type(type): |