installability/builder.py: Reuse local variable

Signed-off-by: Niels Thykier <niels@thykier.net>
debian
Niels Thykier 10 years ago
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…
Cancel
Save