summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/fetch2/wget.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/fetch2/wget.py')
-rw-r--r--bitbake/lib/bb/fetch2/wget.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/bitbake/lib/bb/fetch2/wget.py b/bitbake/lib/bb/fetch2/wget.py
index 859b4f99e2..927487a0b6 100644
--- a/bitbake/lib/bb/fetch2/wget.py
+++ b/bitbake/lib/bb/fetch2/wget.py
@@ -385,6 +385,14 @@ class Wget(FetchMethod):
385 # debug for now to avoid spamming the logs in e.g. remote sstate searches 385 # debug for now to avoid spamming the logs in e.g. remote sstate searches
386 logger.debug2("checkstatus() urlopen failed: %s" % e) 386 logger.debug2("checkstatus() urlopen failed: %s" % e)
387 return False 387 return False
388 except TimeoutError as e:
389 if try_again:
390 logger.debug2("checkstatus: trying again")
391 return self.checkstatus(fetch, ud, d, False)
392 else:
393 # debug for now to avoid spamming the logs in e.g. remote sstate searches
394 logger.debug2("checkstatus() urlopen TimeoutError: %s" % e)
395 return False
388 396
389 return True 397 return True
390 398