summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/fetch2/wget.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2019-03-16 13:31:09 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-03-19 23:54:41 +0000
commit28fb15c56f0d3d959eef63270e4154b8550aa463 (patch)
tree39428b4e08455928ad1d11d722a1753fe44ada4d /bitbake/lib/bb/fetch2/wget.py
parent588a4c58e89e13d549dd0f0634eef73e9a912992 (diff)
downloadpoky-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/wget.py')
-rw-r--r--bitbake/lib/bb/fetch2/wget.py2
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