[PATCH] Add "b" back in as a possible valid size specifier (#866115).

Chris Lumens clumens at redhat.com
Tue Oct 16 14:06:22 UTC 2012


---
 pyanaconda/storage/size.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pyanaconda/storage/size.py b/pyanaconda/storage/size.py
index a8da321..b045536 100644
--- a/pyanaconda/storage/size.py
+++ b/pyanaconda/storage/size.py
@@ -53,7 +53,7 @@ _binaryPrefix = [(1024, _("kibi"), _("Ki")),
                  (1024**7, _("zebi"), None),
                  (1024**8, _("yobi"), None)]
 
-_bytes = [_('B'), _('byte'), _('bytes')]
+_bytes = [_('B'), _("b"), _('byte'), _('bytes')]
 _prefixes = _decimalPrefix + _binaryPrefix
 
 def _makeSpecs(prefix, abbr):
-- 
1.7.11.2



More information about the anaconda-patches mailing list