[blivet:master 06/25] Make signature of Size.__str__ match signature of Decimal.__str__

mulhern amulhern at redhat.com
Wed Apr 16 21:54:27 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 405a1b9..f738943 100644
--- a/blivet/size.py
+++ b/blivet/size.py
@@ -210,7 +210,7 @@ class Size(Decimal):
         self = Decimal.__new__(cls, value=value)
         return self
 
-    def __str__(self, context=None):
+    def __str__(self, eng=False, context=None):
         # Convert the result of humanReadable from unicode to str
         return self.humanReadable()
 
-- 
1.8.3.1



More information about the anaconda-patches mailing list