Skip to content

Commit

Permalink
[backend] kiwi product: do not auto-vivify deleted packages
Browse files Browse the repository at this point in the history
  • Loading branch information
mlschroe committed Mar 27, 2023
1 parent 31d9f79 commit 69eba07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/BSSched/BuildJob/KiwiProduct.pm
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ sub check {
# fast blocked check
if ($blocked_cache->{$apackid}) {
if (!exists($known{$apackid})) {
my $info = (grep {$_->{'repository'} eq $arepoid} @{$pdatas->{$apackid}->{'info'} || []})[0];
my $info = (grep {$_->{'repository'} eq $arepoid} @{($pdatas->{$apackid} || {})->{'info'} || []})[0];
$known{$apackid} = ($info || {})->{'name'} || $apackid;
}
my $apackid2 = $known{$apackid} || $apackid;
Expand Down

0 comments on commit 69eba07

Please sign in to comment.