From: Michael Tremer Date: Tue, 22 Feb 2011 20:35:21 +0000 (+0100) Subject: Fix package dump when LANG was de_DE.utf8. X-Git-Tag: 0.9.3~134^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=52d73aa835d2ee0f3c281deedc1495b99861721b;p=pakfire.git Fix package dump when LANG was de_DE.utf8. --- diff --git a/pakfire/packages/base.py b/pakfire/packages/base.py index c2f8db92f..e5ea12834 100644 --- a/pakfire/packages/base.py +++ b/pakfire/packages/base.py @@ -76,7 +76,8 @@ class Package(object): s.append("") # New line at the end - return "\n".join(s) + # XXX why do we need to decode this? + return "\n".join([str.decode("utf-8") for str in s]) @property def info(self):