[blivet:master 1/9] Correct comment on resizable property

mulhern amulhern at redhat.com
Wed Apr 23 21:49:25 UTC 2014


The value of resizable is affected by the state of the device as well as its
type.

Signed-off-by: mulhern <amulhern at redhat.com>
---
 blivet/devices.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/blivet/devices.py b/blivet/devices.py
index 32457a8..534d421 100644
--- a/blivet/devices.py
+++ b/blivet/devices.py
@@ -722,7 +722,7 @@ class StorageDevice(Device):
 
     @property
     def resizable(self):
-        """ Can this type of device be resized? """
+        """ Can this device be resized? """
         return (self._resizable and self.exists and
                 (self.format.type is None or self.format.resizable or
                  not self.format.exists))
@@ -1822,7 +1822,6 @@ class PartitionDevice(StorageDevice):
 
     @property
     def resizable(self):
-        """ Can this type of device be resized? """
         return super(PartitionDevice, self).resizable and \
                self.disk.type != 'dasd'
 
-- 
1.8.3.1



More information about the anaconda-patches mailing list