Re: [PATCH] Don't set up the device to obtain minSize anymore.

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

 



Looks good

On 04/14/2009 01:26 PM, David Lehman wrote:
---
  storage/devices.py |    3 ---
  1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/storage/devices.py b/storage/devices.py
index e51ae05..c36cde9 100644
--- a/storage/devices.py
+++ b/storage/devices.py
@@ -580,9 +580,6 @@ class StorageDevice(Device):
      @property
      def minSize(self):
          """ The minimum size this device can be. """
-        if self.exists:
-            self.setup()
-
          if self.format.minSize:
              return self.format.minSize
          else:


--
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