From 19e289b4dd591ac7c757b3858a1771d4b80c41ff Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Sun, 30 Jun 2019 10:10:39 -0700 Subject: [PATCH] build sources directly from the package collection --- Debbugs/Bug.pm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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 { -- 2.39.2