caff: Fix a bug with checking if we have exactly one or more keys that failed downloa...
authorweasel <weasel@b513b33f-fedd-0310-b452-c3deb5f4c849>
Wed, 11 Oct 2006 08:35:34 +0000 (08:35 +0000)
committerweasel <weasel@b513b33f-fedd-0310-b452-c3deb5f4c849>
Wed, 11 Oct 2006 08:35:34 +0000 (08:35 +0000)
git-svn-id: svn://svn.debian.org/pgp-tools/trunk@306 b513b33f-fedd-0310-b452-c3deb5f4c849

caff/caff
debian/changelog

index cb25412c75d54e2dd68faf4174ae8a58d79b77a6..7988badc534f64e5dd6a2c00a48b6198d1e27c78 100755 (executable)
--- 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.");
index a83938d1957190e562cd3e4361146b45c63ed470..c9f66c8b8de54ee4cdcf4602be3f33eaa4003618 100644 (file)
@@ -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 <weasel@debian.org>  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).