summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xurpmq4
1 files changed, 1 insertions, 3 deletions
diff --git a/urpmq b/urpmq
index fd52a6b6..1057c3ba 100755
--- a/urpmq
+++ b/urpmq
@@ -477,9 +477,7 @@ if ($options{list_aliases}) {
}
} elsif ($options{sources}) {
print "$_\n" foreach values %$local_sources;
- foreach my $blist (@$blists) {
- print urpm::blist_pkg_to_url($blist, $_), "\n" foreach values %{$blist->{pkgs}};
- }
+ print "$_\n" foreach map { urpm::blist_to_urls($_) } @$blists;
}
exit 0;
} elsif ($options{summary}) {