diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-03-16 13:31:09 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-03-19 23:54:41 +0000 |
| commit | 28fb15c56f0d3d959eef63270e4154b8550aa463 (patch) | |
| tree | 39428b4e08455928ad1d11d722a1753fe44ada4d /bitbake/lib/bb/fetch2 | |
| parent | 588a4c58e89e13d549dd0f0634eef73e9a912992 (diff) | |
| download | poky-28fb15c56f0d3d959eef63270e4154b8550aa463.tar.gz | |
bitbake: fetch2/wget: Remove pointless lambda function
(Bitbake rev: 329986c3f2d98c4cd1a43b725194003575e718d5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/fetch2')
| -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 f86047a93e..3bb3e3bb0c 100644 --- a/bitbake/lib/bb/fetch2/wget.py +++ b/bitbake/lib/bb/fetch2/wget.py | |||
| @@ -290,7 +290,7 @@ class Wget(FetchMethod): | |||
| 290 | """ | 290 | """ |
| 291 | def redirect_request(self, req, fp, code, msg, headers, newurl): | 291 | def redirect_request(self, req, fp, code, msg, headers, newurl): |
| 292 | newreq = urllib.request.HTTPRedirectHandler.redirect_request(self, req, fp, code, msg, headers, newurl) | 292 | newreq = urllib.request.HTTPRedirectHandler.redirect_request(self, req, fp, code, msg, headers, newurl) |
| 293 | newreq.get_method = lambda: req.get_method() | 293 | newreq.get_method = req.get_method |
| 294 | return newreq | 294 | return newreq |
| 295 | exported_proxies = export_proxies(d) | 295 | exported_proxies = export_proxies(d) |
| 296 | 296 | ||
