diff options
-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 f7d1de26b7..5676d3fd27 100644 --- a/bitbake/lib/bb/fetch2/wget.py +++ b/bitbake/lib/bb/fetch2/wget.py | |||
@@ -319,7 +319,7 @@ class Wget(FetchMethod): | |||
319 | except (TypeError, ImportError, IOError, netrc.NetrcParseError): | 319 | except (TypeError, ImportError, IOError, netrc.NetrcParseError): |
320 | pass | 320 | pass |
321 | 321 | ||
322 | with opener.open(r) as response: | 322 | with opener.open(r, timeout=30) as response: |
323 | pass | 323 | pass |
324 | except urllib.error.URLError as e: | 324 | except urllib.error.URLError as e: |
325 | if try_again: | 325 | if try_again: |