mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-05-25 01:11:30 +00:00
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>
This commit is contained in:
parent
33bc6cb7fb
commit
0463c666f0
@ -1581,6 +1581,8 @@ class Britney(object):
|
|||||||
# if a package is going to be removed, it will have a "-" prefix
|
# if a package is going to be removed, it will have a "-" prefix
|
||||||
upgrade_me = []
|
upgrade_me = []
|
||||||
|
|
||||||
|
self.excuses = []
|
||||||
|
|
||||||
# for every source package in testing, check if it should be removed
|
# for every source package in testing, check if it should be removed
|
||||||
for pkg in sources['testing']:
|
for pkg in sources['testing']:
|
||||||
if should_remove_source(pkg):
|
if should_remove_source(pkg):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user