[blivet:rhel7/master 2/5] Use Size, not int, for size (#1076055)

mulhern amulhern at redhat.com
Thu Sep 25 18:03:33 UTC 2014


Related: rhbz#1076055

Signed-off-by: mulhern <amulhern at redhat.com>
---
 pyanaconda/ui/gui/spokes/custom.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pyanaconda/ui/gui/spokes/custom.py b/pyanaconda/ui/gui/spokes/custom.py
index e5202d2..88e90d4 100644
--- a/pyanaconda/ui/gui/spokes/custom.py
+++ b/pyanaconda/ui/gui/spokes/custom.py
@@ -1426,7 +1426,7 @@ class CustomPartitioningSpoke(NormalSpoke, StorageChecker):
         # If the device is a btrfs volume, the only things we can set/update
         # are mountpoint and container-wide settings.
         if device_type == DEVICE_TYPE_BTRFS and hasattr(use_dev, "subvolumes"):
-            size = 0
+            size = Size(0)
             changed_size = False
             encrypted = False
             changed_encryption = False
-- 
1.9.3



More information about the anaconda-patches mailing list