This is an automated email from the git hooks/post-receive script. guillem pushed a commit to branch main in repository dpkg.
View the commit online: https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=bfed9bcd7ffd3c9643863dfd0afb7ac3e50b7268 commit bfed9bcd7ffd3c9643863dfd0afb7ac3e50b7268 Author: Guillem Jover <[email protected]> AuthorDate: Wed Jul 20 03:07:21 2022 +0200 Dpkg::OpenPGP: Remove unused $exec_opts argument from _exec_openpgp() This is not currently used, if there's ever a need for something like this we can always add it back. --- scripts/Dpkg/OpenPGP.pm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/Dpkg/OpenPGP.pm b/scripts/Dpkg/OpenPGP.pm index 88f18f500..71be17d79 100644 --- a/scripts/Dpkg/OpenPGP.pm +++ b/scripts/Dpkg/OpenPGP.pm @@ -91,11 +91,11 @@ sub openpgp_sig_to_asc sub _exec_openpgp { - my ($exec, $exec_opts, $opts, $errmsg) = @_; + my ($exec, $opts, $errmsg) = @_; my ($stdout, $stderr); spawn(exec => $exec, wait_child => 1, nocheck => 1, timeout => 10, - to_string => \$stdout, error_to_string => \$stderr, %{$exec_opts}); + to_string => \$stdout, error_to_string => \$stderr); if (WIFEXITED($?)) { my $status = WEXITSTATUS($?); print { *STDERR } "$stdout$stderr" if $status; @@ -134,7 +134,7 @@ sub import_key { push @exec, $asc; my $errmsg = sprintf g_('cannot import key %s into %s'), $asc, $opts{keyring}; - _exec_openpgp(\@exec, {}, \%opts, $errmsg); + _exec_openpgp(\@exec, \%opts, $errmsg); } sub verify_signature { @@ -170,7 +170,7 @@ sub verify_signature { push @exec, $opts{datafile} if exists $opts{datafile}; my $errmsg = sprintf g_('cannot verify signature %s'), $sig; - _exec_openpgp(\@exec, {}, \%opts, $errmsg); + _exec_openpgp(\@exec, \%opts, $errmsg); } 1; -- Dpkg.Org's dpkg

