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 784df70c9f..7fa2a87ffd 100644 --- a/bitbake/lib/bb/fetch2/wget.py +++ b/bitbake/lib/bb/fetch2/wget.py | |||
@@ -322,7 +322,7 @@ class Wget(FetchMethod): | |||
322 | except (TypeError, ImportError, IOError, netrc.NetrcParseError): | 322 | except (TypeError, ImportError, IOError, netrc.NetrcParseError): |
323 | pass | 323 | pass |
324 | 324 | ||
325 | with opener.open(r) as response: | 325 | with opener.open(r, timeout=30) as response: |
326 | pass | 326 | pass |
327 | except urllib.error.URLError as e: | 327 | except urllib.error.URLError as e: |
328 | if try_again: | 328 | if try_again: |