aboutsummaryrefslogtreecommitdiffstats
path: root/layerindex/update.py
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2016-11-07 09:23:51 +1300
committerPaul Eggleton <paul.eggleton@linux.intel.com>2016-11-07 16:39:38 +1300
commite547528fd37a30e178bb92e4d14821f61f09c0c5 (patch)
treef0a80ed07a68170ba39fcd3fd3aefa9b28f7fb85 /layerindex/update.py
parent7ddf8f58d63d5571df7b952a98c13c6a7c39e074 (diff)
downloadopenembedded-core-contrib-e547528fd37a30e178bb92e4d14821f61f09c0c5.tar.gz
openembedded-core-contrib-e547528fd37a30e178bb92e4d14821f61f09c0c5.tar.bz2
openembedded-core-contrib-e547528fd37a30e178bb92e4d14821f61f09c0c5.zip
update.py: fix regression handling layers that failed to fetch
If the layer failed to fetch, we shouldn't be attempting to update its contents. (This got broken when we split the update script into two in c64e4c57a9158c8ae5e49f526c3ff87950d3a94e). Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Diffstat (limited to 'layerindex/update.py')
-rwxr-xr-xlayerindex/update.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/layerindex/update.py b/layerindex/update.py
index 6f930997c4..ffa2a62b61 100755
--- a/layerindex/update.py
+++ b/layerindex/update.py
@@ -175,6 +175,7 @@ def main():
for layer in layerquery:
if layer.vcs_url in failedrepos:
logger.info("Skipping update of layer %s as fetch of repository %s failed" % (layer.name, layer.vcs_url))
+ continue
urldir = layer.get_fetch_dir()
repodir = os.path.join(fetchdir, urldir)