diff options
author | David Lehman <dlehman@redhat.com> | 2009-03-19 02:08:06 -0500 |
---|---|---|
committer | David Lehman <dlehman@redhat.com> | 2009-03-19 02:08:06 -0500 |
commit | e5371fffaee326c0e2132a97441c50ca032ced89 (patch) | |
tree | cbf8cde0b5cd662b7fa0ab0d0d4faaa7d503ca7b | |
parent | c97de90819f7d41537e8039cde63fd8409350548 (diff) | |
download | anaconda-e5371fffaee326c0e2132a97441c50ca032ced89.tar.gz anaconda-e5371fffaee326c0e2132a97441c50ca032ced89.tar.xz anaconda-e5371fffaee326c0e2132a97441c50ca032ced89.zip |
Devices should not be resizable unless they exist.
-rw-r--r-- | storage/devices.py | 2 |
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. """ |