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

commit d52a5d960d5df0de6e87907c3baf7fb460f4c777
Author: Miklos Vajna <vmik...@frugalware.org>
Date:   Tue May 4 12:56:03 2010 +0200

syncpkgdctl: make it easy to grep the output

diff --git a/syncpkgd/syncpkgdctl.py b/syncpkgd/syncpkgdctl.py
index 7010131..6daf467 100644
--- a/syncpkgd/syncpkgdctl.py
+++ b/syncpkgd/syncpkgdctl.py
@@ -19,6 +19,7 @@ if len(sys.argv) > 1:
print "Oops, something went wrong. Maybe this package is already in the queue?"
else:
print """At the moment the following packages are waiting to be built:"""
-       print server.get_todo(config.server_user, config.server_pass)
+       for i, item in enumerate(server.get_todo(config.server_user, 
config.server_pass)):
+               print '\t%s. %s' % (i+1, item)
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