Remove unused assignments/parameters

Signed-off-by: Niels Thykier <niels@thykier.net>
master
Niels Thykier 9 years ago
parent bfb71f966b
commit 074eb46766

@ -2514,7 +2514,6 @@ class Britney(object):
# a package is obsolete if none of the binary packages in testing
# are built by it
self.__log("> Removing obsolete source packages from testing", type="I")
removals = []
# local copies for performance
sources = self.sources['testing']
binaries = self.binaries['testing']

@ -115,7 +115,7 @@ def iter_except(func, exception, first=None):
def undo_changes(lundo, inst_tester, sources, binaries,
BINARIES=BINARIES, PROVIDES=PROVIDES):
BINARIES=BINARIES):
"""Undoes one or more changes to testing
* lundo is a list of (undo, item)-tuples

@ -39,7 +39,6 @@ class Completer(object):
complete = []
tpu = []
for e in britney.excuses:
ver = None
pkg = e.name
suite = 'unstable'
if pkg[0] == '-':

@ -24,7 +24,7 @@ class HintCollection(object):
return self.search(type)
def search(self, type=None, onlyactive=True, package=None, \
version=None, days=None, removal=None):
version=None, removal=None):
return [ hint for hint in self._hints if
(type is None or type == hint.type) and

@ -29,7 +29,7 @@ class _RelationBuilder(object):
self._new_breaks = set(binary_data[1])
def add_dependency_clause(self, or_clause, frozenset=frozenset):
def add_dependency_clause(self, or_clause):
"""Add a dependency clause
The clause must be a sequence of (name, version, architecture)
@ -48,7 +48,6 @@ class _RelationBuilder(object):
clause = self._itbuilder._intern_set(or_clause)
binary = self._binary
itbuilder = self._itbuilder
package_table = itbuilder._package_table
okay = False
for dep_tuple in clause:
okay = True

Loading…
Cancel
Save