From: Jiri Konecny jkonecny@redhat.com
Setting size for custom partition was broken. Blivet now needs normal string instead of unicode.
Related: rhbz#1196721 --- pyanaconda/ui/gui/spokes/lib/custom_storage_helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pyanaconda/ui/gui/spokes/lib/custom_storage_helpers.py b/pyanaconda/ui/gui/spokes/lib/custom_storage_helpers.py index f5c36e9..b97c9dd 100644 --- a/pyanaconda/ui/gui/spokes/lib/custom_storage_helpers.py +++ b/pyanaconda/ui/gui/spokes/lib/custom_storage_helpers.py @@ -74,7 +74,7 @@ system_mountpoints = ["/dev", "/proc", "/run", "/sys"]
def size_from_entry(entry): - size_text = entry.get_text().decode("utf-8").strip() + size_text = entry.get_text().strip() return size_from_input(size_text)
def populate_mountpoint_store(store, used_mountpoints):