aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/fts
diff options
context:
space:
mode:
authorYeoh Ee Peng <ee.peng.yeoh@intel.com>2019-01-04 14:46:01 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-01-07 17:23:07 +0000
commit9a3cc9b8523b78dda6c3f3f2e12798b2b907d7e5 (patch)
treeaccf8ae657307a9b16defa8e855d8679e3e78faa /meta/recipes-core/fts
parent95c78d2166d3f8f47146ad7542569b25794dab6b (diff)
downloadopenembedded-core-contrib-9a3cc9b8523b78dda6c3f3f2e12798b2b907d7e5.tar.gz
scripts/oe-git-archive: fix non-existent key referencing error
Without installing gitpython package, oe-git-archive will face error below, where it was referencing key that was non-existent inside metadata object. Traceback (most recent call last): File "<poky_dir>/scripts/oe-git-archive", line 271, in <module> sys.exit(main()) File "<poky_dir>/scripts/oe-git-archive", line 229, in main 'commit_count': metadata['layers']['meta']['commit_count'], KeyError: 'commit_count' Fix this error by adding exception catch when referencing non-existent key (based on inputs provided by Richard Purdie). [YOCTO# 13082] Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/fts')
0 files changed, 0 insertions, 0 deletions