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