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=c44f7a8d96aa8652f0f3527b9f89b345cb00c99f

commit c44f7a8d96aa8652f0f3527b9f89b345cb00c99f
Author: Guillem Jover <[email protected]>
AuthorDate: Thu Nov 24 03:57:50 2022 +0100

    Dpkg::Source::Package: Move arguments from Dpkg::Checksums to Dpkg::OpenPGP
    
    The constructor arguments got misplaced. Move them to the one that was
    intended.
    
    Fixes: commit 6afb4b99eefeebd3de2868b590ce42def0906446
    Changelog: silent
---
 scripts/Dpkg/Source/Package.pm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/Dpkg/Source/Package.pm b/scripts/Dpkg/Source/Package.pm
index 9234b9667..fc6fbeb57 100644
--- a/scripts/Dpkg/Source/Package.pm
+++ b/scripts/Dpkg/Source/Package.pm
@@ -213,8 +213,8 @@ sub new {
         fields => Dpkg::Control->new(type => CTRL_PKG_SRC),
         format => Dpkg::Source::Format->new(),
         options => {},
-        checksums => Dpkg::Checksums->new(needs => { api => 'verify' }),
-        openpgp => Dpkg::OpenPGP->new(),
+        checksums => Dpkg::Checksums->new(),
+        openpgp => Dpkg::OpenPGP->new(needs => { api => 'verify' }),
     };
     bless $self, $class;
     if (exists $args{options}) {

-- 
Dpkg.Org's dpkg

Reply via email to