write_excuses: clear the list of excuses before building

Although this isn't an issue during normal runs, the excuses might be
built multiple times during a hint-tester run and should not accumulate
during the run.

Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
master
Adam D. Barratt 11 years ago
parent 07918e2164
commit 8c26798395

@ -1581,6 +1581,8 @@ class Britney(object):
# if a package is going to be removed, it will have a "-" prefix
upgrade_me = []
self.excuses = []
# for every source package in testing, check if it should be removed
for pkg in sources['testing']:
if should_remove_source(pkg):

Loading…
Cancel
Save