[oe-commits] [bitbake] 04/05: fetch2/wget: Remove pointless lambda function
git at git.openembedded.org
git at git.openembedded.org
Tue Mar 19 15:48:05 UTC 2019
This is an automated email from the git hooks/post-receive script.
rpurdie pushed a commit to branch master-next
in repository bitbake.
commit 329986c3f2d98c4cd1a43b725194003575e718d5
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Sat Mar 16 13:31:09 2019 +0000
fetch2/wget: Remove pointless lambda function
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
lib/bb/fetch2/wget.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/bb/fetch2/wget.py b/lib/bb/fetch2/wget.py
index f86047a..3bb3e3b 100644
--- a/lib/bb/fetch2/wget.py
+++ b/lib/bb/fetch2/wget.py
@@ -290,7 +290,7 @@ class Wget(FetchMethod):
"""
def redirect_request(self, req, fp, code, msg, headers, newurl):
newreq = urllib.request.HTTPRedirectHandler.redirect_request(self, req, fp, code, msg, headers, newurl)
- newreq.get_method = lambda: req.get_method()
+ newreq.get_method = req.get_method
return newreq
exported_proxies = export_proxies(d)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list