diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-07-08 15:45:06 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-07-08 15:45:06 +0000 |
commit | 89d848a4838e2c2db22a9b91658d170d3513bff5 (patch) | |
tree | 434102925c9bb89f3233dd0e8996a97d8f28f8bf /urpmq | |
parent | 5bac0d169b04a6cca4ce0eeabb78388ac537a4b7 (diff) | |
download | urpmi-89d848a4838e2c2db22a9b91658d170d3513bff5.tar urpmi-89d848a4838e2c2db22a9b91658d170d3513bff5.tar.gz urpmi-89d848a4838e2c2db22a9b91658d170d3513bff5.tar.bz2 urpmi-89d848a4838e2c2db22a9b91658d170d3513bff5.tar.xz urpmi-89d848a4838e2c2db22a9b91658d170d3513bff5.zip |
simplify
Diffstat (limited to 'urpmq')
-rwxr-xr-x | urpmq | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -479,9 +479,7 @@ if ($options{list_aliases}) { } } elsif ($options{sources}) { print join "\n", values %$local_sources; values %$local_sources and print "\n"; - foreach (0..$#{$urpm->{media} || []}) { - print "$_\n" foreach values %{$list->[$_]}; - } + print "$_\n" foreach map { values %$_ } @$list; } exit 0; } elsif ($options{summary}) { |