mirror of
https://git.yoctoproject.org/poky
synced 2026-09-14 03:49:32 +02:00
bitbake: fetch/checkstatus(): do not print the URI twice in FetchError exception
Previously, there was duplicate clutter in the output, particularly if the
URI points to sstate cache items:
bb.fetch2.FetchError: Fetcher failure for URL: {uri}. URL {uri} doesn't work
(Bitbake rev: 61537b8a98b963e4af265e046d41407b32fa5935)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
4e2fcdb383
commit
4890c6a7ca
@@ -1947,7 +1947,7 @@ class Fetch(object):
|
|||||||
ret = m.try_mirrors(self, ud, self.d, mirrors, True)
|
ret = m.try_mirrors(self, ud, self.d, mirrors, True)
|
||||||
|
|
||||||
if not ret:
|
if not ret:
|
||||||
raise FetchError("URL %s doesn't work" % u, u)
|
raise FetchError("URL doesn't work", u)
|
||||||
|
|
||||||
def unpack(self, root, urls=None):
|
def unpack(self, root, urls=None):
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user