[PATCH 4/6] Fix typo: size -> self.size

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

 



---
 storage/devices.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/storage/devices.py b/storage/devices.py
index d55f120..22999ae 100644
--- a/storage/devices.py
+++ b/storage/devices.py
@@ -482,7 +482,7 @@ class StorageDevice(Device):
         if self.format.minSize < self.size:
             return self.format.minSize
         else:
-            return size
+            return self.size
 
     @property
     def maxSize(self):
-- 
1.6.1.3

_______________________________________________
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