@@ -1925,15 +1925,6 @@ class Fetch(object):
done = True
elif m.try_premirror(ud, self.d):
done = m.try_mirrors(self, ud, self.d, 'PREMIRRORS')
- if done:
- try:
- # early checksum verification so that if the checksum of the premirror
- # contents mismatch the fetcher can still try upstream and mirrors
- m.update_donestamp(ud, self.d)
- except ChecksumError as e:
- logger.warning("Checksum failure encountered with premirror download of %s - will attempt other sources." % u)
- logger.debug(str(e))
- done = False
d = self.d
if premirroronly:
This was added in 022adb30dbb0df764c9fb515918cb9a88e4f8d6f however the checksum exception is now correctly handled in try_mirror_url so this code block is just duplication and not needed anymore. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> --- lib/bb/fetch2/__init__.py | 9 --------- 1 file changed, 9 deletions(-)