diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2022-08-25 20:06:56 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2022-09-03 17:45:28 +0100 |
commit | 82438d6d84d80afc6352108c820fbf6cd481dee4 (patch) | |
tree | 2a869846d91a032299dcfc7e8d58eed3a4c2fd3b | |
parent | 14f125119f3a9454dde39fd41ae01f74125321a9 (diff) |
dgit: Dpkg::Source::Package: Fix require_valid_signature option
Dpkg::Source::Package::new takes both %opts and `options`,
one nested within the other.
Closes: #964286
Suggested-by: Guillem Jover <guillem@debian.org>
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
-rwxr-xr-x | dgit | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -7292,7 +7292,7 @@ sub cmd_import_dsc { # we don't normally need this so import it here use Dpkg::Source::Package; my $dp = new Dpkg::Source::Package filename => $dscfn, - require_valid_signature => $needsig; + options => { require_valid_signature => $needsig }; { local $SIG{__WARN__} = sub { print STDERR $_[0]; |