Re: [PATCH] Don't traceback when PVs are encrypted or are not partitions.

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

 



Looks good,

Regards,

Hans


On 04/07/2009 01:42 AM, David Lehman wrote:
---
  storage/devices.py |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/storage/devices.py b/storage/devices.py
index 9d3b84a..32ad43d 100644
--- a/storage/devices.py
+++ b/storage/devices.py
@@ -1715,7 +1715,7 @@ class LVMVolumeGroupDevice(DMDevice):
          # verify we have the space, then add it
          # do not verify for growing vg (because of ks)
          if not lv.exists and \
-           not [pv for pv in self.pvs if pv.req_grow] and \
+           not [pv for pv in self.pvs if getattr(pv, "req_grow", None)] and \
             lv.size>  self.freeSpace:
              raise DeviceError("new lv is too large to fit in free space")


_______________________________________________
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