archive => {type => BOOLEAN,
default => 0,
},
+ owner => {type => SCALAR|ARRAYREF,
+ optional => 1,
+ },
src => {type => SCALAR|ARRAYREF,
optional => 1,
},
} @src_packages;
}
if (exists $param{submitter}) {
- my @p_addrs = map {$_->address}
- map {lc(getparsedaddrs($_))}
+ my @p_addrs = map {lc($_->address)}
+ map {getparsedaddrs($_)}
__make_list($param{submitter});
my @f_addrs = map {$_->address}
getparsedaddrs($submitter||'');
# We only want to increment the number of keys if there is
# something to match
my $key_inc = 0;
- for my $package (map { getsrcpkgs($_)} __make_list($param{src})) {
+ for my $package ((map { getsrcpkgs($_)} __make_list($param{src})),__make_list($param{src})) {
$packages{$package}++;
$key_inc=1;
}