add remove reason when package not in unstable

bzr-import-20160707
Ivo De Decker 11 years ago committed by Niels Thykier
parent 369f01e8d2
commit e109b446df

@ -1040,6 +1040,7 @@ class Britney(object):
# otherwise, add a new excuse for its removal and return True
src = self.sources['testing'][pkg]
excuse = Excuse("-" + pkg)
excuse.addreason("remove")
excuse.set_vers(src[VERSION], None)
src[MAINTAINER] and excuse.set_maint(src[MAINTAINER].strip())
src[SECTION] and excuse.set_section(src[SECTION].strip())

Loading…
Cancel
Save