From c7666bf75aa96754cc5bab38aa0dc4b7ad97ab7e Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Tue, 5 Jun 2018 20:28:25 +0000 Subject: Only prevent submitting if the package is already in same queue --- modules/buildsystem/files/Mageia.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'modules/buildsystem/files/Mageia.pm') diff --git a/modules/buildsystem/files/Mageia.pm b/modules/buildsystem/files/Mageia.pm index 74f83a75..443f6cb7 100644 --- a/modules/buildsystem/files/Mageia.pm +++ b/modules/buildsystem/files/Mageia.pm @@ -442,6 +442,7 @@ sub get_upload_newer_revisions { my @packages; foreach my $state (@{$self->{_upload_state}}) { foreach my $m (keys %{$media->{$arch}}) { + next if defined($user_context->{section}) and $user_context->{section} ne $m; my $path = "$self->{_upload_root}/$state/$target/$m"; print "Looking for package $package revisions for $target in $path (pattern $pattern)\n" if $self->{_verbose}; find( -- cgit v1.2.1