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()):