[blivet:master+? 1/5] Use b"", not u"", for _EMPTY_PREFIX.

mulhern amulhern at redhat.com
Fri Oct 24 18:39:37 UTC 2014


Signed-off-by: mulhern <amulhern at redhat.com>
---
 blivet/size.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/blivet/size.py b/blivet/size.py
index d01576f..3b0c0b0 100644
--- a/blivet/size.py
+++ b/blivet/size.py
@@ -69,7 +69,7 @@ _BINARY_PREFIXES = [
 ]
 
 # Empty prefix works both for decimal and binary
-_EMPTY_PREFIX = _Prefix(1, u"", u"")
+_EMPTY_PREFIX = _Prefix(1, b"", b"")
 
 _BYTES = [N_(b'B'), N_(b'b'), N_(b'byte'), N_(b'bytes')]
 _PREFIXES = _BINARY_PREFIXES + _DECIMAL_PREFIXES
-- 
1.9.3



More information about the anaconda-patches mailing list