From dc5b676fb28c0e83bcbadd4ea5c7e4f57f6dab97 Mon Sep 17 00:00:00 2001 From: Susanne Oberhauser Date: Fri, 3 Apr 2009 12:23:59 +0200 Subject: [PATCH] Corrected list of priority in 'repos' command (bnc #436688). --- src/repos.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/repos.cc b/src/repos.cc index cdbc412..3faa9f8 100644 --- a/src/repos.cc +++ b/src/repos.cc @@ -737,7 +737,7 @@ static void print_repo_list(Zypper & zypper, tr << (repo.autorefresh() ? _("Yes") : _("No")); // priority if (all || showprio) - tr << str::numstring (repo.priority()); + tr << str::numstring (repo.priority(), 4); // output flush right; looks nicer and sorts correctly // type if (all) tr << repo.type().asString(); @@ -2035,7 +2035,7 @@ static void service_list_tr( if (service) tr << ""; else - tr << str::numstring (repo->priority()); + tr << str::numstring (repo->priority(), 4); // output flush right; looks nicer and sorts correctly } // type -- 2.7.4