Commit 65477919 authored by Paul Wise's avatar Paul Wise

grep-excuses: Ignore new --- header line in autoremovals.yaml.cgi

Fixes warnings like these:

    $ grep-excuses 'Paul Wise'
    grep-excuses: unprocessed line 1 in https://udd.debian.org/cgi-bin/autoremovals.yaml.cgi:
    ---
parent bce34b8d
devscripts (2.16.14) UNRELEASED; urgency=medium
[ Sean Whitton ]
* New script: git-deborig, a wrapper around git-archive(1) to generate
Debian orig.tar files.
[ Paul Wise ]
* grep-excuses:
+ Ignore new --- header line in autoremovals.yaml.cgi
-- Sean Whitton <spwhitton@spwhitton.name> Mon, 19 Dec 2016 09:51:35 +0000
devscripts (2.16.13) unstable; urgency=medium
......
......@@ -256,7 +256,7 @@ sub grep_autoremovals () {
}
next;
}
if (m%^$% || m%^\#%) {
if (m%^$% || m%^\#% || m{^---$}) {
next;
}
warn "$progname: unprocessed line $. in $rmurl_yaml:\n$_";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment