Hi

One thing I forgot. I guess it would be good to check the encoding, especially 
when you have user input. Otherwise, printconf would crash. I am using the 
attached patch.

Cheers
Steffen
@@ -78,7 +78,7 @@ _invalidre = re.compile(r'([^A-Za-z0-9_])')
 def print_fill(text, *args):
     if args:
         text = text % args
-    print textwrap.fill(text, columns)
+    print unicode(textwrap.fill(text, columns)).encode("iso-8859-1")
 
 def cleanup_name(model):
     model = model.lower().replace(' ', '_')

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to