PackageKit/PackageKit-0.6.21-revert_utf8_for_smart.patch

15 lines
676 B
Diff

diff -Nru PackageKit-0.6.21.orig/lib/python/packagekit/backend.py PackageKit-0.6.21/lib/python/packagekit/backend.py
--- PackageKit-0.6.21.orig/lib/python/packagekit/backend.py 2011-12-05 11:02:02.000000000 +0100
+++ PackageKit-0.6.21/lib/python/packagekit/backend.py 2011-12-12 20:05:54.663934072 +0100
@@ -91,8 +91,8 @@
def __init__(self, cmds):
# Make sys.stdout/stderr cope with UTF-8
- sys.stdout = _UTF8Writer(sys.stdout)
- sys.stderr = _UTF8Writer(sys.stderr)
+ #sys.stdout = _UTF8Writer(sys.stdout)
+ #sys.stderr = _UTF8Writer(sys.stderr)
# Setup a custom exception handler
installExceptionHandler(self)