mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-02-13 15:37:02 +00:00
Make a variable name more descriptive (first -. circular-first)
Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
This commit is contained in:
parent
20d7614b70
commit
b909f73d6a
@ -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…
x
Reference in New Issue
Block a user