Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-tools.git;a=commitdiff;h=69f29c339d5fd705b0ec051e2849a0d65d653ce5

commit 69f29c339d5fd705b0ec051e2849a0d65d653ce5
Author: Miklos Vajna <vmik...@frugalware.org>
Date:   Tue Aug 23 12:49:28 2011 +0200

syncpkgdctl: allow utf-8 chars in output

diff --git a/syncpkgd/syncpkgdctl.py b/syncpkgd/syncpkgdctl.py
index 6daf467..8a939ae 100644
--- a/syncpkgd/syncpkgdctl.py
+++ b/syncpkgd/syncpkgdctl.py
@@ -20,6 +20,6 @@ if len(sys.argv) > 1:
else:
print """At the moment the following packages are waiting to be built:"""
for i, item in enumerate(server.get_todo(config.server_user, 
config.server_pass)):
-               print '\t%s. %s' % (i+1, item)
+               print '\t%s. %s' % (i+1, item.encode('utf-8'))
print "Please note that this list does not include failed or already started 
builds."
print "See man syncpkgdctl for more info."
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to