diff options
author | Raphael Geissert <geissert@debian.org> | 2015-01-17 15:22:19 +0000 |
---|---|---|
committer | Raphael Geissert <geissert@debian.org> | 2015-01-17 15:22:19 +0000 |
commit | a2185b9ba984f8f8137be3a501a911cde7da7832 (patch) | |
tree | e7c41bb962729fef7ba1d002eba932e9d6387911 /bin/updatelist | |
parent | 30827f8261c4bed694da3dcb491baac2af46fd8e (diff) |
drop some useless notes for rejected ids
git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@31429 e39458fd-73e7-0310-bf30-c45bca0a0e42
Diffstat (limited to 'bin/updatelist')
-rwxr-xr-x | bin/updatelist | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/updatelist b/bin/updatelist index 8724dbe55f..6af7b44cc0 100755 --- a/bin/updatelist +++ b/bin/updatelist @@ -79,6 +79,10 @@ sub docve { } if ($cves{$cve}{notes}) { foreach (@{$cves{$cve}{notes}}) { + if (length(@{$cves{$cve}{notes}}) == 1 && + $cves{$cve}{rejected} && m/(?:TODO: check$|to be rejected)/) { + next; + } push @out, "\t$_\n"; } } |