[PATCH] anaconda-cleanup: fix DeviceTree args

Brian C. Lane bcl at redhat.com
Tue Aug 28 01:08:26 UTC 2012


From: "Brian C. Lane" <bcl at redhat.com>

---
 scripts/anaconda-cleanup | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/anaconda-cleanup b/scripts/anaconda-cleanup
index 05a3594..4716dc8 100755
--- a/scripts/anaconda-cleanup
+++ b/scripts/anaconda-cleanup
@@ -84,7 +84,7 @@ for mounted in reversed(open("/proc/mounts").readlines()):
 os.system("udevadm control --env=ANACONDA=1")
 os.system("udevadm trigger --subsystem-match block")
 os.system("udevadm settle")
-devicetree = DeviceTree(intf=intf, conf=storage_config)
+devicetree = DeviceTree(conf=storage_config)
 devicetree.populate(cleanupOnly=True)
 devicetree.teardownAll()
 for name in devicetree.diskImages.keys():
-- 
1.7.11.4



More information about the anaconda-patches mailing list