Re: [PATCH] Deactivate devices after we've finished scanning them.

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

 



Looks good.

On 03/11/2009 12:34 PM, David Lehman wrote:
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.
---
  storage/devicetree.py |    2 ++
  1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/storage/devicetree.py b/storage/devicetree.py
index 7288ad1..d21883d 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:


--
David Cantrell <dcantrell@xxxxxxxxxx>
Red Hat / Honolulu, HI

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux