createrepo/yumbased.py

[email protected] (Seth Vidal)
Newsgroups gmane.linux.rpm.metadata
Message-ID <[email protected]>
 createrepo/yumbased.py |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 58c262b0173c7c0f4c56787ba99fefc09eae6c1d
Author: Seth Vidal <[email protected]>
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):
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.