summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2007-06-15 18:21:06 +0000
committerChris Lumens <clumens@redhat.com>2007-06-15 18:21:06 +0000
commit22c9305afdc4a36791b6637a2b4e02d6b6e7a3bf (patch)
tree1c328025e6300f4a295428438dd78285bb486c4e
parentd9d7c1c458e5338c7ddedddcb1e3e3445e3a8f2f (diff)
downloadanaconda-22c9305afdc4a36791b6637a2b4e02d6b6e7a3bf.tar.gz
anaconda-22c9305afdc4a36791b6637a2b4e02d6b6e7a3bf.tar.xz
anaconda-22c9305afdc4a36791b6637a2b4e02d6b6e7a3bf.zip
Don't write out unicode text to the install log (#243477).
-rw-r--r--ChangeLog3
-rw-r--r--yuminstall.py2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 4aa30c632..91fe9867a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,9 @@
* exception.py (dumpException): Don't capture passwords from the
kickstart file in the exception dump.
+ * yuminstall.py (AnacondaCallback.callback): Don't write out unicode
+ text to the install log (#243477).
+
2007-06-15 Chris Lumens <clumens@redhat.com>
* anaconda.spec: Bump version.
diff --git a/yuminstall.py b/yuminstall.py
index 88614d185..42a3d376d 100644
--- a/yuminstall.py
+++ b/yuminstall.py
@@ -160,7 +160,7 @@ class AnacondaCallback:
s += (hdr['summary'] or "")
self.progress.set_label(s)
- nvra = "%s" %(po,)
+ nvra = str("%s" %(po,))
self.instLog.write(self.modeText % (nvra,))
self.instLog.flush()