1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-12-26 09:56:13 +01:00

list submitrequests in a sorted order.. newest first

This commit is contained in:
Dirk Mueller 2008-06-27 16:36:36 +00:00
parent 72d0d2fbbb
commit 6d5dab90b4

View File

@ -1,4 +1,5 @@
#!/usr/bin/python
# vim: sw=4 et
# Copyright (C) 2006 Peter Poeml / Novell Inc. All rights reserved.
# This program is free software; it may be used, copied, modified
@ -536,6 +537,9 @@ Please submit there instead, or use --nodevelproject to force direct submission.
elif cmd == 'list':
results = get_submit_request_list(conf.config['apiurl'],
project, package)
results.sort(reverse=True)
for result in results:
print result.list_view()