[PATCH 3/7] Revert "Use a capital "B" in the size module (#859932)."
Chris Lumens
clumens at redhat.com
Tue Oct 16 21:04:06 UTC 2012
This reverts commit 03af0cbf7fdbaba1b5d53cfad0d77902c5f829a4.
---
pyanaconda/storage/size.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pyanaconda/storage/size.py b/pyanaconda/storage/size.py
index 65b3e20..5b531f1 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'), _('byte'), _('bytes')]
_prefixes = _decimalPrefix + _binaryPrefix
def _makeSpecs(prefix, abbr):
@@ -227,7 +227,7 @@ class Size(Decimal):
retval = "%s.%s" % (whole, fraction[:max_places])
if abbr:
- return retval + " " + abbr + _("B")
+ return retval + " " + abbr + _("b")
else:
return retval + " " + prefix + P_("byte", "bytes", newcheck)
--
1.7.11.2
More information about the anaconda-patches
mailing list