diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2007-08-12 10:15:46 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2007-08-12 10:15:46 +0000 |
commit | 2665dc703d726e66eeb8d1eb8f1394396e86f443 (patch) | |
tree | 1df429b0dfa59bac682079d7c98600307db6227d /URPM | |
parent | 6f96bc4258c5e8ed7c054a56ae811c7a6b5e684e (diff) | |
download | perl-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.pm | 4 |
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 } |