mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-05-15 12:31:31 +00:00
installability/builder.py: Reuse local variable
Signed-off-by: Niels Thykier <niels@thykier.net>
This commit is contained in:
parent
a9ee64470e
commit
49a7323ecb
@ -45,9 +45,9 @@ class _RelationBuilder(object):
|
|||||||
However, they must be added before the "build()" method is
|
However, they must be added before the "build()" method is
|
||||||
called.
|
called.
|
||||||
"""
|
"""
|
||||||
clause = self._itbuilder._intern_set(or_clause)
|
|
||||||
binary = self._binary
|
|
||||||
itbuilder = self._itbuilder
|
itbuilder = self._itbuilder
|
||||||
|
clause = itbuilder._intern_set(or_clause)
|
||||||
|
binary = self._binary
|
||||||
okay = False
|
okay = False
|
||||||
for dep_tuple in clause:
|
for dep_tuple in clause:
|
||||||
okay = True
|
okay = True
|
||||||
@ -57,7 +57,7 @@ class _RelationBuilder(object):
|
|||||||
|
|
||||||
self._new_deps.add(clause)
|
self._new_deps.add(clause)
|
||||||
if not okay:
|
if not okay:
|
||||||
self._itbuilder._broken.add(binary)
|
itbuilder._broken.add(binary)
|
||||||
|
|
||||||
|
|
||||||
def add_breaks(self, broken_binary):
|
def add_breaks(self, broken_binary):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user