diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2024-01-08 15:26:47 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-01-10 13:54:46 +0000 |
commit | 61537b8a98b963e4af265e046d41407b32fa5935 (patch) | |
tree | 9ef854d1875075d1018f52106d632b0fc8536a0c | |
parent | 4e5de537bebb68180c5755858c81b095eb9ae2f6 (diff) | |
download | bitbake-61537b8a98b963e4af265e046d41407b32fa5935.tar.gz |
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
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | lib/bb/fetch2/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/fetch2/__init__.py b/lib/bb/fetch2/__init__.py index 22a2f8010..677968a6a 100644 --- a/lib/bb/fetch2/__init__.py +++ b/lib/bb/fetch2/__init__.py @@ -1947,7 +1947,7 @@ class Fetch(object): ret = m.try_mirrors(self, ud, self.d, mirrors, True) 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): """ |