summaryrefslogtreecommitdiffstats
path: root/lib/bb/fetch2/__init__.py
diff options
context:
space:
mode:
authorBöszörményi Zoltán <zboszor@pr.hu>2018-02-04 09:36:15 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-02-09 14:09:52 +0000
commit545540420112992e53f4a83104af10452df168d0 (patch)
tree5615d1aa08f2341e54f641a21ab35fa529e876ef /lib/bb/fetch2/__init__.py
parent104572438dfedf6025fbfd125aef1d56134012e7 (diff)
downloadbitbake-545540420112992e53f4a83104af10452df168d0.tar.gz
fetch2/npm.py: Fix inverted condition to prevent infinite loop
At least the cli-color node module has dependencies that have cyclic dependency among themselves. npm.py is prepared to deal with such a case but the condition is handled only for downloading or not a dependency again, but then it goes checking the its dependency which causes an infinite loop in _getdependencies(). Make this function simply return when a dependency is already downloaded and only download and check its dependencies when not. Signed-off-by: Zoltán Böszörményi <zboszor@pr.hu> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/fetch2/__init__.py')
0 files changed, 0 insertions, 0 deletions