From 71c733152debf7c0d7b34ea1774d51b4c200595c Mon Sep 17 00:00:00 2001 From: weasel Date: Wed, 11 Oct 2006 08:35:34 +0000 Subject: [PATCH] caff: Fix a bug with checking if we have exactly one or more keys that failed downloading. git-svn-id: svn://svn.debian.org/pgp-tools/trunk@306 b513b33f-fedd-0310-b452-c3deb5f4c849 --- caff/caff | 2 +- debian/changelog | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/caff/caff b/caff/caff index cb25412..7988bad 100755 --- a/caff/caff +++ b/caff/caff @@ -1026,7 +1026,7 @@ if ($CONFIG{'no-download'}) { if (scalar %local_keyids) { notice ("Import failed for: ". (join ' ', keys %local_keyids)."." . ($had_v3_keys ? " (Or maybe it's one of those ugly v3 keys?)" : "")); exit 1 unless ask ("Some keys could not be imported - continue anyway?", 0); - if (scalar %local_keyids == 1) { + if (scalar keys %local_keyids == 1) { mywarn("Assuming ". (join ' ', keys %local_keyids)." is a fine keyid."); } else { mywarn("Assuming ". (join ' ', keys %local_keyids)." are fine keyids."); diff --git a/debian/changelog b/debian/changelog index a83938d..c9f66c8 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +signing-party (0.4.XXXX) UNRELEASED; urgency=low + + * caff: Fix a bug with checking if we have exactly one or more keys + that failed downloading. + + -- Peter Palfrader Wed, 11 Oct 2006 10:35:15 +0200 + signing-party (0.4.8-1) unstable; urgency=low * gpglist: do not die with with-fingerprint (Closes: #382019). -- 2.39.5