From 8fc0a4e94bd10d89909e7ff4161e16f083e2375e Mon Sep 17 00:00:00 2001 From: Marcus Huewe Date: Wed, 9 Feb 2011 15:53:36 +0100 Subject: [PATCH] - fix for 7d5893992d356a02e0cba0677a81d0d46bfc265f --- osc/commandline.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/osc/commandline.py b/osc/commandline.py index 3f76f4fc..e30becf9 100644 --- a/osc/commandline.py +++ b/osc/commandline.py @@ -5075,7 +5075,7 @@ Please submit there instead, or use --nodevelproject to force direct submission. r = Request() r.read(node) requests.append(r) - for r in requests_sort(requests): + for r in sorted(requests): print r.list_view(), '\n' return except urllib2.HTTPError, e: @@ -5108,7 +5108,7 @@ Please submit there instead, or use --nodevelproject to force direct submission. if list_requests: # old style, only for OBS 2.1 and before. Should not be used, since it is slow and incomplete requests = get_user_projpkgs_request_list(apiurl, user, projpkgs=request_todo) - for r in requests_sort(requests): + for r in sorted(requests): print r.list_view(), '\n' else: for i in sorted(roles.keys()):