aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Matthijs <axxo@gentoo.org>2005-06-21 15:41:43 +0000
committerThomas Matthijs <axxo@gentoo.org>2005-06-21 15:41:43 +0000
commit1b53277ca2df322655efe9b7bcee608973d70dc0 (patch)
tree8b8889fb7e5c708f8102f24b850fb2597380929a
parentconfig files (diff)
downloadjava-config-1b53277ca2df322655efe9b7bcee608973d70dc0.tar.gz
java-config-1b53277ca2df322655efe9b7bcee608973d70dc0.tar.bz2
java-config-1b53277ca2df322655efe9b7bcee608973d70dc0.zip
str the message, so the iteration always works
svn path=/java-config-ng/branches/axxo/; revision=197
-rw-r--r--src/OutputFormatter.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/OutputFormatter.py b/src/OutputFormatter.py
index e4354d8..65d5fb8 100644
--- a/src/OutputFormatter.py
+++ b/src/OutputFormatter.py
@@ -73,8 +73,8 @@ class OutputFormatter:
colored = ''
striped = ''
replace = 0
-
- for char in message:
+
+ for char in str(message):
if replace:
if char == ' ':
colored += self.codes['%'] + ' '