Use excuses_suffix instead of name for items

At the moment, the two are identical, but they are not intended to
remain identical (i.e. the name should eventually become the full
suite name).

Signed-off-by: Niels Thykier <niels@thykier.net>
ubuntu/rebased
Niels Thykier 6 years ago
parent 1d45b2a3b2
commit 70947f4c21

@ -1632,11 +1632,11 @@ class Britney(object):
if pkg in sources_t:
for arch in architectures:
if should_upgrade_srcarch(pkg, arch, suite.name):
upgrade_me_add("%s/%s_%s" % (pkg, arch, suite.name))
upgrade_me_add("%s/%s_%s" % (pkg, arch, suite.excuses_suffix))
# check if the source package should be upgraded
if should_upgrade_src(pkg, suite.name):
upgrade_me_add("%s_%s" % (pkg, suite.name))
upgrade_me_add("%s_%s" % (pkg, suite.excuses_suffix))
# process the `remove' hints, if the given package is not yet in upgrade_me
for hint in self.hints['remove']:

Loading…
Cancel
Save