Ignore revoked UIDs
authorweasel <weasel@b513b33f-fedd-0310-b452-c3deb5f4c849>
Mon, 25 Jul 2005 23:27:03 +0000 (23:27 +0000)
committerweasel <weasel@b513b33f-fedd-0310-b452-c3deb5f4c849>
Mon, 25 Jul 2005 23:27:03 +0000 (23:27 +0000)
git-svn-id: svn://svn.debian.org/pgp-tools/trunk@142 b513b33f-fedd-0310-b452-c3deb5f4c849

gpglist/gpglist

index 58d5c1e691e0565b2d31c7bd28a0b91cf1a6f638..8ed2ca82a4c3378b3d72f7826873164b7cb8dd2a 100755 (executable)
@@ -78,6 +78,10 @@ while (<SIGS>) {
 }
 close SIGS;
 
+# XXX: Add an option for this
+my $c = 0;
+@uids = grep { ! defined $rev{$uids[$c++]} } @uids;
+
 my $n = scalar @uids -1;
 for ( my $a=0; $a <= $n; $a++ ) {
        printf "|  " x ($a)