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>
bzr-import-20160707
Adam D. Barratt 12 years ago
parent 33bc6cb7fb
commit 0463c666f0

@ -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