summaryrefslogtreecommitdiff
path: root/dgit
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2022-08-25 20:06:56 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2022-09-03 17:45:28 +0100
commit82438d6d84d80afc6352108c820fbf6cd481dee4 (patch)
tree2a869846d91a032299dcfc7e8d58eed3a4c2fd3b /dgit
parent14f125119f3a9454dde39fd41ae01f74125321a9 (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>
Diffstat (limited to 'dgit')
-rwxr-xr-xdgit2
1 files changed, 1 insertions, 1 deletions
diff --git a/dgit b/dgit
index 162af35..d5715c8 100755
--- a/dgit
+++ b/dgit
@@ -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];