ref: refs/heads/SuSE-Code-11-Branch
commit eeca85f0ba81bc705da753d0c0dcc29ec3df6d03
Author: Susanne Oberhauser
Date: Fri Apr 3 12:23:59 2009 +0200
Corrected list of priority in 'repos' command (bnc #436688).
---
src/repos.cc | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/repos.cc b/src/repos.cc
index 7ac580b..8790261 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
--
To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org
For additional commands, e-mail: zypp-commit+help@opensuse.org