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:55:33 +0000 |
commit | 4890c6a7ca811fb7fd31ecad7fe7fae05f2c3340 (patch) | |
tree | bac4dcbdcceef259abc426f207120f6e668a2db7 /bitbake/lib/bb/fetch2/__init__.py | |
parent | 4e2fcdb383386bad26727ec771fbfbc141177a1a (diff) | |
download | poky-4890c6a7ca811fb7fd31ecad7fe7fae05f2c3340.tar.gz |
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>
Diffstat (limited to 'bitbake/lib/bb/fetch2/__init__.py')
-rw-r--r-- | bitbake/lib/bb/fetch2/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py index 22a2f80107..677968a6a9 100644 --- a/bitbake/lib/bb/fetch2/__init__.py +++ b/bitbake/lib/bb/fetch2/__init__.py | |||
@@ -1947,7 +1947,7 @@ class Fetch(object): | |||
1947 | ret = m.try_mirrors(self, ud, self.d, mirrors, True) | 1947 | ret = m.try_mirrors(self, ud, self.d, mirrors, True) |
1948 | 1948 | ||
1949 | if not ret: | 1949 | if not ret: |
1950 | raise FetchError("URL %s doesn't work" % u, u) | 1950 | raise FetchError("URL doesn't work", u) |
1951 | 1951 | ||
1952 | def unpack(self, root, urls=None): | 1952 | def unpack(self, root, urls=None): |
1953 | """ | 1953 | """ |