From c0e15035d1febd27c342f84b98cdc4d3f327ceb4 Mon Sep 17 00:00:00 2001 From: "Adam D. Barratt" Date: Wed, 27 Jul 2011 08:43:02 +0000 Subject: [PATCH] Make a variable name more descriptive (first -. circular-first) Signed-off-by: Adam D. Barratt --- britney.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/britney.py b/britney.py index d7662bc..2778831 100755 --- a/britney.py +++ b/britney.py @@ -2793,13 +2793,13 @@ class Britney: # consider only excuses which are valid candidates excuses = dict([(x.name, x) for x in self.excuses if x.name in self.upgrade_me]) - def find_related(e, hint, first=False): + def find_related(e, hint, circular_first=False): if e not in excuses: return False excuse = excuses[e] if e in self.sources['testing'] and self.sources['testing'][e][VERSION] == excuse.ver[1]: return True - if not first: + if not circular_first: hint[e] = excuse.ver[1] if len(excuse.deps) == 0: return hint