handle non-existent Maintainers file
my ($options,$opts,$p,$config,$argv) = @_;
my $s = db_connect($options);
my ($options,$opts,$p,$config,$argv) = @_;
my $s = db_connect($options);
- my $maintainers = getsourcemaintainers();
+ my $maintainers = getsourcemaintainers() // {};
$p->target(2) if $p;
## get all of the maintainers, and add the missing ones
my $maints = $s->resultset('Maintainer')->
get_maintainers(values %{$maintainers});
$p->target(2) if $p;
## get all of the maintainers, and add the missing ones
my $maints = $s->resultset('Maintainer')->
get_maintainers(values %{$maintainers});
my @svs = $s->resultset('SrcVer')->
search({maintainer => undef
},
my @svs = $s->resultset('SrcVer')->
search({maintainer => undef
},