]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
fetch2/npm: don't download same URL multiple times
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Tue, 13 Sep 2016 02:11:41 +0000 (14:11 +1200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 14 Sep 2016 22:04:04 +0000 (23:04 +0100)
commitb4705c80add1f618c11a9223cdd9578d763b50ec
treef3c0a8f9cd47f1dd141d163e007a438b3ce117e4
parent56ac0d4c7a5f47aeb707b15a0c305d9f73aae945
fetch2/npm: don't download same URL multiple times

If we've already fetched a particular URL then we do not need to do so
again within in the same operation. Maintain an internal list of fetched
URLs to avoid doing that.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lib/bb/fetch2/npm.py