summaryrefslogtreecommitdiffstats
path: root/lib/bb/fetch2/git.py
diff options
context:
space:
mode:
authorRoland Hieber <rhi@pengutronix.de>2022-05-10 08:05:42 -1000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-05-12 13:41:35 +0100
commite14ed7dd866334ab40cd335d9c006e5d7b447abd (patch)
tree83be5bf6e7b87b48415d0a678de74f43506e9b6e /lib/bb/fetch2/git.py
parent7eb0ef75fd08b6e4ca1e9dca9c96a7b590e5147b (diff)
downloadbitbake-e14ed7dd866334ab40cd335d9c006e5d7b447abd.tar.gz
cache: correctly handle file names containing colons
File names containing colons cause split() to return a list with more than two elements, which will lead to a stack trace ending in: ValueError: too many values to unpack (expected 2) Split only once at the last colon, thereby making sure that only two elements are returned. Signed-off-by: Roland Hieber <rhi@pengutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit a70a7376a8708bde07959deb5d5842d7f84ee5f8) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/fetch2/git.py')
0 files changed, 0 insertions, 0 deletions