]> git.donarmstrong.com Git - debbugs.git/commitdiff
build sources directly from the package collection
authorDon Armstrong <don@donarmstrong.com>
Sun, 30 Jun 2019 17:10:39 +0000 (10:10 -0700)
committerDon Armstrong <don@donarmstrong.com>
Sun, 30 Jun 2019 17:10:39 +0000 (10:10 -0700)
Debbugs/Bug.pm

index f78a24aec9f11dea100725516ce5454293b02236..09c580d22a6adf77e8d4b20e6002823e0f576456 100644 (file)
@@ -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 {