mirror of
https://github.com/openSUSE/osc.git
synced 2025-09-06 13:18:42 +02:00
list submitrequests in a sorted order.. newest first
This commit is contained in:
@@ -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()
|
||||
|
||||
|
Reference in New Issue
Block a user