[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[PATCH] DeviceTree.isIgnored() is called with wrong parameter



This small patch is for new storage code on branch anaconda-storage-branch.

diff --git a/storage/devicetree.py b/storage/devicetree.py
index 7950d31..1a1e6e8 100644
--- a/storage/devicetree.py
+++ b/storage/devicetree.py
@@ -409,7 +409,7 @@ class DeviceTree(object):
         sysfs_path = udev_device_get_sysfs_path(info)
         device = None

-        if self.isIgnored(sysfs_path):
+        if self.isIgnored(info):
             log.debug("ignoring %s (%s)" % (name, sysfs_path))
             return



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]