Add note when a pkg is being removed because it is not in sid

Signed-off-by: Niels Thykier <niels@thykier.net>
This commit is contained in:
Ivo De Decker 2013-12-11 21:56:51 +01:00 committed by Niels Thykier
parent f978d2c69a
commit 9345e9f6fe

View File

@ -1039,6 +1039,7 @@ class Britney(object):
# otherwise, add a new excuse for its removal and return True
src = self.sources['testing'][pkg]
excuse = Excuse("-" + pkg)
excuse.addhtml("Package not in unstable, will try to remove")
excuse.addreason("remove")
excuse.set_vers(src[VERSION], None)
src[MAINTAINER] and excuse.set_maint(src[MAINTAINER].strip())