imgcreate/yuminst.py |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 2223cd162d5ee2c10c99dffbedcb01725460258e
Author: Daiki Ueno <[email protected]>
Date:   Sat Sep 11 11:54:07 2010 -0500

    Set up locale or there can be problems handling non-ascii characters.
    
    Signed-off-by: Bruno Wolff III <[email protected]>

diff --git a/imgcreate/yuminst.py b/imgcreate/yuminst.py
index d3f36ac..7614ebb 100644
--- a/imgcreate/yuminst.py
+++ b/imgcreate/yuminst.py
@@ -188,6 +188,8 @@ class LiveCDYum(yum.YumBase):
 
         # FIXME: callback should be refactored a little in yum 
         sys.path.append('/usr/share/yum-cli')
+        import yum.misc
+        yum.misc.setup_locale()
         import callback
         cb = callback.RPMInstallCallback()
         cb.tsInfo = self.tsInfo


--
livecd mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/livecd

Reply via email to