From: Don Armstrong Date: Sun, 30 Jun 2019 17:10:39 +0000 (-0700) Subject: build sources directly from the package collection X-Git-Url: https://git.donarmstrong.com/?p=debbugs.git;a=commitdiff_plain;h=19e289b4dd591ac7c757b3858a1771d4b80c41ff build sources directly from the package collection --- diff --git a/Debbugs/Bug.pm b/Debbugs/Bug.pm index f78a24a..09c580d 100644 --- a/Debbugs/Bug.pm +++ b/Debbugs/Bug.pm @@ -234,9 +234,7 @@ sub _build_affects { } sub _build_sources { my $self = shift; - local $_; - my @sources = map {$_->sources} $self->packages->members; - return @sources; + return $self->packages->sources->clone; } sub is_owned {