summaryrefslogtreecommitdiffstats
path: root/storage/devices.py
diff options
context:
space:
mode:
authorDavid Lehman <dlehman@redhat.com>2009-03-19 02:08:06 -0500
committerDavid Lehman <dlehman@redhat.com>2009-03-19 02:08:06 -0500
commite5371fffaee326c0e2132a97441c50ca032ced89 (patch)
treecbf8cde0b5cd662b7fa0ab0d0d4faaa7d503ca7b /storage/devices.py
parentc97de90819f7d41537e8039cde63fd8409350548 (diff)
downloadanaconda-e5371fffaee326c0e2132a97441c50ca032ced89.tar.gz
anaconda-e5371fffaee326c0e2132a97441c50ca032ced89.tar.xz
anaconda-e5371fffaee326c0e2132a97441c50ca032ced89.zip
Devices should not be resizable unless they exist.
Diffstat (limited to 'storage/devices.py')
-rw-r--r--storage/devices.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/devices.py b/storage/devices.py
index dbfc9fae3..1a52c7119 100644
--- a/storage/devices.py
+++ b/storage/devices.py
@@ -458,7 +458,7 @@ class StorageDevice(Device):
@property
def resizable(self):
""" Can this type of device be resized? """
- return self._resizable
+ return self._resizable and self.exists
def notifyKernel(self):
""" Send a 'change' uevent to the kernel for this device. """