From 49a7323ecb1c1b3f68ade59e728cb40bbc258b22 Mon Sep 17 00:00:00 2001 From: Niels Thykier Date: Tue, 8 Sep 2015 20:48:56 +0200 Subject: [PATCH] installability/builder.py: Reuse local variable Signed-off-by: Niels Thykier --- installability/builder.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/installability/builder.py b/installability/builder.py index 2998d16..ee8b4f1 100644 --- a/installability/builder.py +++ b/installability/builder.py @@ -45,9 +45,9 @@ class _RelationBuilder(object): However, they must be added before the "build()" method is called. """ - clause = self._itbuilder._intern_set(or_clause) - binary = self._binary itbuilder = self._itbuilder + clause = itbuilder._intern_set(or_clause) + binary = self._binary okay = False for dep_tuple in clause: okay = True @@ -57,7 +57,7 @@ class _RelationBuilder(object): self._new_deps.add(clause) if not okay: - self._itbuilder._broken.add(binary) + itbuilder._broken.add(binary) def add_breaks(self, broken_binary):