add remove reason when package not in unstable

debian
Ivo De Decker 11 years ago committed by Niels Thykier
parent 68d2d54663
commit a037c189e9

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

Loading…
Cancel
Save