]> git.decadent.org.uk Git - dak.git/commit
fix removals rss feed when there are fewer than 16 removals
authorMike O'Connor <stew@debian.org>
Sat, 3 Jan 2009 00:03:10 +0000 (01:03 +0100)
committerJoerg Jaspert <joerg@debian.org>
Sat, 3 Jan 2009 00:03:10 +0000 (01:03 +0100)
commit741da470f1f6fd1b12ee27f9f37d7159539a8fb8
treeb1bb0c3ac10b82c770c2b7c6059b33b99952975e
parent057f401f1d911b98e4a4a5eff85235c7d5960dde
fix removals rss feed when there are fewer than 16 removals

To: joerg@debian.org
Date: Fri, 02 Jan 2009 23:28:02 +0100
X-Spam-Status: No, score=-3.586 tagged_above=-99 required=4.6 tests=[AWL=0.013, BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
User-Agent: Mutt/1.5.18 (2008-05-17)

tools/removals.pl was making the assumption that at least 16 removals exist in
removals.txt.  If there are not, it creates and rss feed with with bogus empty
removals to pad the output to 16 entries.  This patch removes this false
assumption.

Signed-off-by: Mike O'Connor <stew@debian.org>
Signed-off-by: Joerg Jaspert <joerg@debian.org>
tools/removals.pl