diff options
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/fetch2/wget.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch2/wget.py b/bitbake/lib/bb/fetch2/wget.py index 349891e852..fd9b304961 100644 --- a/bitbake/lib/bb/fetch2/wget.py +++ b/bitbake/lib/bb/fetch2/wget.py | |||
@@ -356,7 +356,7 @@ class Wget(FetchMethod): | |||
356 | except (TypeError, ImportError, IOError, netrc.NetrcParseError): | 356 | except (TypeError, ImportError, IOError, netrc.NetrcParseError): |
357 | pass | 357 | pass |
358 | 358 | ||
359 | with opener.open(r) as response: | 359 | with opener.open(r, timeout=30) as response: |
360 | pass | 360 | pass |
361 | except urllib.error.URLError as e: | 361 | except urllib.error.URLError as e: |
362 | if try_again: | 362 | if try_again: |