[rhel7-branch 1/1] Fix set size to partition in custom spoke
jkonecny12
installerbot-noreply at redhat.com
Thu Jun 18 14:16:32 UTC 2015
From: Jiri Konecny <jkonecny at redhat.com>
Setting size for custom partition was broken. Blivet now needs normal
string instead of unicode.
---
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):
--
To view this commit on github, visit https://github.com/rhinstaller/anaconda/commit/e6c11240cd4f59179dd3801297f66be70bb89be9
More information about the anaconda-patches
mailing list