This commit is contained in:
Pavlo Kapyshin
2014-04-10 06:09:36 +03:00
parent 338c5f6a0b
commit 4ca4865170
+1 -1
View File
@@ -61,7 +61,7 @@ def super_len(o):
return os.fstat(fileno).st_size
if hasattr(o, 'getvalue'):
# e.g. BytesIO, cStringIO.StringI
# e.g. BytesIO, cStringIO.StringIO
return len(o.getvalue())