summaryrefslogtreecommitdiffstats
path: root/urpmq
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-09-26 19:12:36 +0000
committerThierry Vignaud <tv@mageia.org>2012-09-26 19:12:36 +0000
commit1a13dfee64dc7f126ba1858d3198467fed5f1eef (patch)
treedffa77cb1aeb972181b0a3f286b7a5c217a1f092 /urpmq
parentd4848db669d74915dd7a1cbd8b98168cc0445dc5 (diff)
downloadurpmi-1a13dfee64dc7f126ba1858d3198467fed5f1eef.tar
urpmi-1a13dfee64dc7f126ba1858d3198467fed5f1eef.tar.gz
urpmi-1a13dfee64dc7f126ba1858d3198467fed5f1eef.tar.bz2
urpmi-1a13dfee64dc7f126ba1858d3198467fed5f1eef.tar.xz
urpmi-1a13dfee64dc7f126ba1858d3198467fed5f1eef.zip
simplify
Diffstat (limited to 'urpmq')
-rwxr-xr-xurpmq3
1 files changed, 1 insertions, 2 deletions
diff --git a/urpmq b/urpmq
index 91309582..bee492d1 100755
--- a/urpmq
+++ b/urpmq
@@ -313,8 +313,7 @@ if ($options{list_aliases}) {
#- finally conflicts that will force a new upgrade or a remove.
while (defined ($dep = shift @properties)) {
#- take the best package for each choices of same name.
- my $packages = $urpm->find_candidate_packages($dep);
- foreach (values %$packages) {
+ foreach ($urpm->find_candidate_packages_($dep)) {
my ($best_requested, $best);
foreach (@$_) {
if ($best_requested || exists $requested{$_->id}) {