mirror of
https://github.com/openSUSE/osc.git
synced 2024-12-27 02:16:12 +01:00
list submitrequests in a sorted order.. newest first
This commit is contained in:
parent
72d0d2fbbb
commit
6d5dab90b4
@ -1,4 +1,5 @@
|
|||||||
#!/usr/bin/python
|
#!/usr/bin/python
|
||||||
|
# vim: sw=4 et
|
||||||
|
|
||||||
# Copyright (C) 2006 Peter Poeml / Novell Inc. All rights reserved.
|
# Copyright (C) 2006 Peter Poeml / Novell Inc. All rights reserved.
|
||||||
# This program is free software; it may be used, copied, modified
|
# 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':
|
elif cmd == 'list':
|
||||||
results = get_submit_request_list(conf.config['apiurl'],
|
results = get_submit_request_list(conf.config['apiurl'],
|
||||||
project, package)
|
project, package)
|
||||||
|
|
||||||
|
results.sort(reverse=True)
|
||||||
|
|
||||||
for result in results:
|
for result in results:
|
||||||
print result.list_view()
|
print result.list_view()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user