From de702bb8ed78f3199fab5bef5303d3bf4546a00e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Tue, 11 Nov 2014 08:26:08 +0100 Subject: [PATCH] - follow the request order of the api (sorting according to priorization) --- NEWS | 1 + osc/commandline.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 0c323676..b5c8dd94 100644 --- a/NEWS +++ b/NEWS @@ -1,5 +1,6 @@ 0.150 - add "osc api --edit" option to be able to edit some meta files directly + - follow the request order of the api (sorting according to priorization) 0.149 - removed "--diff" option from the "createrequest" command diff --git a/osc/commandline.py b/osc/commandline.py index 77dc7beb..e4419179 100644 --- a/osc/commandline.py +++ b/osc/commandline.py @@ -2150,7 +2150,7 @@ Please submit there instead, or use --nodevelproject to force direct submission. print('No results') return - results.sort(reverse=True) + # we must not sort the results here, since the api is doing it already "the right way" days = opts.days or conf.config['request_list_days'] since = '' try: