aboutsummaryrefslogtreecommitdiffstats
path: root/URPM
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-08-12 10:15:46 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-08-12 10:15:46 +0000
commit2665dc703d726e66eeb8d1eb8f1394396e86f443 (patch)
tree1df429b0dfa59bac682079d7c98600307db6227d /URPM
parent6f96bc4258c5e8ed7c054a56ae811c7a6b5e684e (diff)
downloadperl-URPM-2665dc703d726e66eeb8d1eb8f1394396e86f443.tar
perl-URPM-2665dc703d726e66eeb8d1eb8f1394396e86f443.tar.gz
perl-URPM-2665dc703d726e66eeb8d1eb8f1394396e86f443.tar.bz2
perl-URPM-2665dc703d726e66eeb8d1eb8f1394396e86f443.tar.xz
perl-URPM-2665dc703d726e66eeb8d1eb8f1394396e86f443.zip
cleanup (easier to read)
Diffstat (limited to 'URPM')
-rw-r--r--URPM/Resolve.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/URPM/Resolve.pm b/URPM/Resolve.pm
index 8e0287b..f0184fa 100644
--- a/URPM/Resolve.pm
+++ b/URPM/Resolve.pm
@@ -185,9 +185,9 @@ sub find_chosen_packages {
(sort sort_package_result @chosen_other_en),
(sort sort_package_result @chosen_other),
(sort sort_package_result @chosen_bad_locales);
+ } else {
+ return values(%packages);
}
-
- return values(%packages);
}
sub sort_package_result { $b->compare_pkg($a) || $a->id <=> $b->id }