Make a variable name more descriptive (first -. circular-first)

Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
master
Adam D. Barratt 13 years ago
parent ad527d48a1
commit c0e15035d1

@ -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

Loading…
Cancel
Save