[Rpm-metadata] createrepo/yumbased.py

Seth Vidal skvidal at linux.duke.edu
Tue Jan 8 20:47:53 UTC 2008


 createrepo/yumbased.py |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 58c262b0173c7c0f4c56787ba99fefc09eae6c1d
Author: Seth Vidal <skvidal at fedoraproject.org>
Date:   Tue Jan 8 15:46:12 2008 -0500

    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):



More information about the Rpm-metadata mailing list