diff options
author | Christopher Larson <chris_larson@mentor.com> | 2018-11-21 23:14:07 +0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-11-22 10:45:14 +0000 |
commit | e3e88600ced72ebfd21ea96084684351c721c47f (patch) | |
tree | da4583791afaa26e51574a9802e071de4f7ee55a /bitbake/lib/bb/fetch2/svn.py | |
parent | d9175f3748fbf92be4b8858070fd19bd92fa9593 (diff) | |
download | poky-e3e88600ced72ebfd21ea96084684351c721c47f.tar.gz |
bitbake: fetch/git: fix AttributeError in shallow extraction logic
This code checks to see if shallow is either disabled or the tarball is
missing, but the else block tries to print the tarball filename, and
this attribute doesn't exist at all when shallow is disabled. Handle the
two cases separately to give sane errors for both cases without the
exception:
Exception: AttributeError: 'FetchData' object has no attribute 'fullshallow'
(Bitbake rev: bdbb558342ebb4e64384c9838d2485d9299d91a6)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/fetch2/svn.py')
0 files changed, 0 insertions, 0 deletions