ALT Linux Bugzilla
– Attachment 2885 Details for
Bug 17044
Проблемы с запуском
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
Work aroung a misfeature in the gzip module
gajim-gzip-caps.patch (text/plain), 437 bytes, created by
avm
on 2008-09-08 10:10:37 MSD
(
hide
)
Description:
Work aroung a misfeature in the gzip module
Filename:
MIME Type:
Creator:
avm
Created:
2008-09-08 10:10:37 MSD
Size:
437 bytes
patch
obsolete
>diff --git a/src/common/logger.py b/src/common/logger.py >index 698e11f..79741ac 100644 >--- a/src/common/logger.py >+++ b/src/common/logger.py >@@ -755,6 +755,7 @@ class Logger: > # if there's a need to do more gzip, put that to a function > string = StringIO() > gzip = GzipFile(fileobj=string, mode='w') >+ data = str(data) # the gzip module can't handle unicode objects > gzip.write(data) > gzip.close() > data = string.getvalue()
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 17044
: 2885