From: Seth Vidal Date: Tue, 8 Jan 2008 20:46:12 +0000 (-0500) Subject: and a little more utf8'ing - just for completeness and insanity X-Git-Tag: upstream/0.9.9~173 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=58c262b0173c7c0f4c56787ba99fefc09eae6c1d;p=tools%2Fcreaterepo.git and a little more utf8'ing - just for completeness and insanity --- diff --git a/createrepo/yumbased.py b/createrepo/yumbased.py index 38d65de..144153a 100644 --- a/createrepo/yumbased.py +++ b/createrepo/yumbased.py @@ -41,6 +41,7 @@ class CreateRepoPackage(YumLocalPackage): def _xml(self, item): + item = utils.utf8String(item) return xml.sax.saxutils.escape(item) def _do_checksum(self):