summaryrefslogtreecommitdiffstats
path: root/storage
diff options
context:
space:
mode:
authorDavid Lehman <dlehman@redhat.com>2009-03-11 17:21:35 -0500
committerDavid Lehman <dlehman@redhat.com>2009-03-11 21:32:35 -0500
commitb7863af1f3f4e927aa96827144c5efe161e71a8b (patch)
tree135faed7c16ab4e4dc6639abdd679212f3df836e /storage
parent9e9626be46747052f4346989df4cb8e14fe94ccb (diff)
downloadanaconda-b7863af1f3f4e927aa96827144c5efe161e71a8b.tar.gz
anaconda-b7863af1f3f4e927aa96827144c5efe161e71a8b.tar.xz
anaconda-b7863af1f3f4e927aa96827144c5efe161e71a8b.zip
Deactivate devices after we've finished scanning them.
There's no good reason to leave everything active, and we certainly don't want everything to be active once the partitioning screen comes up.
Diffstat (limited to 'storage')
-rw-r--r--storage/devicetree.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/storage/devicetree.py b/storage/devicetree.py
index 7288ad12b..d21883d4d 100644
--- a/storage/devicetree.py
+++ b/storage/devicetree.py
@@ -1266,6 +1266,8 @@ class DeviceTree(object):
for dev in devices:
self.addUdevDevice(dev)
+ self.teardownAll()
+
def teardownAll(self):
""" Run teardown methods on all devices. """
for device in self.leaves: