From c668e555f7f57a878b8295abfeeb87d0f4550fbd Mon Sep 17 00:00:00 2001 From: Felix Domke Date: Mon, 19 Jan 2009 14:10:02 +0100 Subject: physdev path start with /, like in hotplug. add dvd drive into devicedb. fix scanner component. fix splitDeviceName for sr0-like devices. --- lib/python/Components/Scanner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/python/Components/Scanner.py') diff --git a/lib/python/Components/Scanner.py b/lib/python/Components/Scanner.py index 766d1966..86a5431d 100644 --- a/lib/python/Components/Scanner.py +++ b/lib/python/Components/Scanner.py @@ -135,7 +135,7 @@ def scanDevice(mountpoint): from Components.Harddisk import harddiskmanager blockdev = mountpoint.rstrip("/").rsplit('/',1)[-1] - error, blacklisted, removable, is_cdrom, partitions = harddiskmanager.getBlockDevInfo(blockdev) + error, blacklisted, removable, is_cdrom, partitions, medium_found = harddiskmanager.getBlockDevInfo(blockdev) # now scan the paths for p in paths_to_scan: -- cgit v1.2.3