From 143b9cadd218c00ca4de58dce0cbc11adb927860 Mon Sep 17 00:00:00 2001 From: Jacob Bachmeyer Date: Thu, 29 Jun 2023 21:04:41 -0500 Subject: [PATCH] Move target_filepair accessor to more-specialized class --- gatekeeper.pl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/gatekeeper.pl b/gatekeeper.pl index dd197a9..87dcb55 100755 --- a/gatekeeper.pl +++ b/gatekeeper.pl @@ -1699,11 +1699,6 @@ sub find_package { sub target_filename { (shift)->{oplist}->[0][1]->{filename} } sub target_package { (shift)->{oplist}->[0][1]->{package} } - sub target_filepair { - my $filename = (shift)->target_filename; - return $filename, $filename.'.sig'; - } - sub auth_keyrings { my $self = shift; @@ -1751,6 +1746,11 @@ sub find_package { sub has_uploaded_file { return 1 } + sub target_filepair { + my $filename = (shift)->target_filename; + return $filename, $filename.'.sig'; + } + sub auth_check { my $self = shift; -- 2.25.1