[Pgp-tools-commit] r321 - in trunk: debian keylookup

thijs at alioth.debian.org thijs at alioth.debian.org
Tue May 22 09:42:43 UTC 2007


Author: thijs
Date: 2007-05-22 09:42:43 +0000 (Tue, 22 May 2007)
New Revision: 321

Modified:
   trunk/debian/changelog
   trunk/keylookup/keylookup
Log:
* keylookup:
  + Fix perl warnings caused by empty lines from gpg output.

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2007-05-22 09:37:05 UTC (rev 320)
+++ trunk/debian/changelog	2007-05-22 09:42:43 UTC (rev 321)
@@ -7,10 +7,12 @@
   * gpg-key2ps:
     + Add '-1' option to only display one column of slips, for extra
       wide keys (Closes: #399474).
+  * keylookup:
+    + Fix perl warnings caused by empty lines from gpg output.
   * Drop transitional and now obsolete keylookup package.
   * Remove no longer needed dependency on mailx.
 
- -- Thijs Kinkhorst <thijs at debian.org>  Tue, 22 May 2007 11:36:28 +0200
+ -- Thijs Kinkhorst <thijs at debian.org>  Tue, 22 May 2007 11:41:32 +0200
 
 signing-party (0.4.9-1) unstable; urgency=low
 

Modified: trunk/keylookup/keylookup
===================================================================
--- trunk/keylookup/keylookup	2007-05-22 09:37:05 UTC (rev 320)
+++ trunk/keylookup/keylookup	2007-05-22 09:42:43 UTC (rev 321)
@@ -99,6 +99,7 @@
 
 	while (<KID>) {
 		chomp;
+		if ( $_ eq "" ) { next; }
 		my ($type, undef) = split /:/;
 		if ($type eq 'pub') {
 			my ($type, $keyid, $algo, $bits, $created, undef, $revoked) = split /:/;




More information about the Pgp-tools-commit mailing list