changeset 43b7eca946bc in /home/hg/repos/gajim
details:http://hg.gajim.org/gajim?cmd=changeset;node=43b7eca946bc description: [Asterix] Fix caps
diffstat:
src/common/logger.py | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r a863200033d5 -r 43b7eca946bc src/common/logger.py --- a/src/common/logger.py Tue Jan 08 03:03:15 2013 +0400 +++ b/src/common/logger.py Tue Jan 08 13:17:09 2013 +0400 @@ -33,7 +33,7 @@ import time import datetime from gzip import GzipFile -from io import BytesIO, StringIO +from io import BytesIO from gi.repository import GObject
from common import exceptions @@ -924,7 +924,7 @@ data.extend(features) data = '\0'.join(data) # if there's a need to do more gzip, put that to a function - string = StringIO() + string = BytesIO() gzip = GzipFile(fileobj=string, mode='w') gzip.write(data) gzip.close()