]> git.sthu.org Git - pgp-tools.git/commitdiff
Change order of some checks
authorweasel <weasel@b513b33f-fedd-0310-b452-c3deb5f4c849>
Thu, 30 Jun 2005 15:27:28 +0000 (15:27 +0000)
committerweasel <weasel@b513b33f-fedd-0310-b452-c3deb5f4c849>
Thu, 30 Jun 2005 15:27:28 +0000 (15:27 +0000)
git-svn-id: svn://svn.debian.org/pgp-tools/trunk@99 b513b33f-fedd-0310-b452-c3deb5f4c849

caff/caff

index 675ffa221d2f7774767aded584d191f43823e76c..665e893b5db8fc8b96298bc3e3730ee9980ac367 100755 (executable)
--- a/caff/caff
+++ b/caff/caff
@@ -875,15 +875,15 @@ for my $keyid (@keyids_ok) {
                        $i++;
                };
                debug("Parsing stdout output done.");
-               if ($is_uat) {
-                       notice("Can't handle attribute userid of key $keyid.");
-                       next;
-               };
                unless ($have_one) {
                        debug("Uid ".($uid_number-1)." was the last, there is no $uid_number.");
                        info("key $keyid done.");
                        last;
                };
+               if ($is_uat) {
+                       notice("Can't handle attribute userid of key $keyid.");
+                       next;
+               };
                if ($delete_some) {
                        debug("need to delete a few uids.");
                        readwrite_gpg("deluid\n", $inputfd, $stdoutfd, $stderrfd, $statusfd, exitwhenstatusmatches => $KEYEDIT_DELUID_PROMPT, nocloseinput => 1);