OSSP CVS Repository

ossp - Check-in [3543]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 3543
Date: 2003-Sep-02 20:37:04 (local)
2003-Sep-02 18:37:04 (UTC)
User:rse
Branch:
Comment: ignore GnuPG public keys as seen under RPM 4.2.1
Tickets:
Inspections:
Files:
ossp-pkg/snmpdx/snmpdx.d/swOp.pm      1.4 -> 1.5     1 inserted, 0 deleted

ossp-pkg/snmpdx/snmpdx.d/swOp.pm 1.4 -> 1.5

--- swOp.pm      2003/09/02 18:34:27     1.4
+++ swOp.pm      2003/09/02 18:37:04     1.5
@@ -44,6 +44,7 @@
     my $pkg = [];
     foreach my $entry (sort(split(/\n/, $out->{-stdout}))) {
         my ($p_n, $p_v, $p_r, $p_bt, $p_it) = split(/\s+/, $entry);
+        next if ($p_n eq 'gpg-key');
         my $p = { -name => $p_n, -version => $p_v, -release => $p_r, -built => $p_bt, -installed => $p_it };
         push(@{$pkg}, $p);
     }

CVSTrac 2.0.1