mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-06-10 09:11:35 +00:00
Remove unused variables/assignments
Signed-off-by: Niels Thykier <niels@thykier.net>
This commit is contained in:
parent
cd66fc82d8
commit
da5e797fc9
@ -331,7 +331,6 @@ class Britney(object):
|
|||||||
self.dates = self.read_dates(self.options.testing)
|
self.dates = self.read_dates(self.options.testing)
|
||||||
self.urgencies = self.read_urgencies(self.options.testing)
|
self.urgencies = self.read_urgencies(self.options.testing)
|
||||||
self.excuses = []
|
self.excuses = []
|
||||||
self.dependencies = {}
|
|
||||||
|
|
||||||
def _check_mismatches(self, arch):
|
def _check_mismatches(self, arch):
|
||||||
suites = [s for s in self.binaries if arch in self.binaries[s]]
|
suites = [s for s in self.binaries if arch in self.binaries[s]]
|
||||||
@ -2123,10 +2122,8 @@ class Britney(object):
|
|||||||
del binaries_t_a[item.package]
|
del binaries_t_a[item.package]
|
||||||
inst_tester.remove_testing_binary(pkg_id)
|
inst_tester.remove_testing_binary(pkg_id)
|
||||||
|
|
||||||
|
|
||||||
# add the new binary packages (if we are not removing)
|
# add the new binary packages (if we are not removing)
|
||||||
if not item.is_removal:
|
if not item.is_removal:
|
||||||
source = sources[item.suite][item.package]
|
|
||||||
packages_s = self.binaries[item.suite]
|
packages_s = self.binaries[item.suite]
|
||||||
|
|
||||||
for updated_pkg_id in updates:
|
for updated_pkg_id in updates:
|
||||||
@ -2513,7 +2510,6 @@ class Britney(object):
|
|||||||
actual_nuninst = set(computed_nuninst[arch])
|
actual_nuninst = set(computed_nuninst[arch])
|
||||||
false_negatives = actual_nuninst - expected_nuninst
|
false_negatives = actual_nuninst - expected_nuninst
|
||||||
false_positives = expected_nuninst - actual_nuninst
|
false_positives = expected_nuninst - actual_nuninst
|
||||||
any_output = actual_nuninst
|
|
||||||
if false_negatives:
|
if false_negatives:
|
||||||
self.__log(" %s - unnoticed nuninst: %s" % (arch, str(false_negatives)), type="E")
|
self.__log(" %s - unnoticed nuninst: %s" % (arch, str(false_negatives)), type="E")
|
||||||
if false_positives:
|
if false_positives:
|
||||||
|
@ -568,7 +568,6 @@ class InstallabilityTester(object):
|
|||||||
choices.add(candidates)
|
choices.add(candidates)
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|
||||||
def _get_min_pseudo_ess_set(self, arch):
|
def _get_min_pseudo_ess_set(self, arch):
|
||||||
if arch not in self._cache_ess:
|
if arch not in self._cache_ess:
|
||||||
# The minimal essential set cache is not present -
|
# The minimal essential set cache is not present -
|
||||||
@ -578,7 +577,6 @@ class InstallabilityTester(object):
|
|||||||
cbroken = self._cache_broken
|
cbroken = self._cache_broken
|
||||||
universe = self._universe
|
universe = self._universe
|
||||||
stats = self._stats
|
stats = self._stats
|
||||||
safe_set = self._safe_set
|
|
||||||
|
|
||||||
ess_base = set(x for x in self._essentials if x[2] == arch and x in testing)
|
ess_base = set(x for x in self._essentials if x[2] == arch and x in testing)
|
||||||
start = set(ess_base)
|
start = set(ess_base)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user