Patchwork [bitbake-devel,1/6] fetch2: Remove unused code in wget fetcher

login
register
mail settings
Submitter Olof Johansson
Date Jan. 21, 2013, 9:17 a.m.
Message ID <1358759883-7566-2-git-send-email-olof.johansson@axis.com>
Download mbox | patch
Permalink /patch/43037/
State New
Headers show

Comments

Olof Johansson - Jan. 21, 2013, 9:17 a.m.
Signed-off-by: Olof Johansson <olof.johansson@axis.com>
---
 lib/bb/fetch2/wget.py |    5 -----
 1 file changed, 5 deletions(-)

Patch

diff --git lib/bb/fetch2/wget.py lib/bb/fetch2/wget.py
index 2808df6..1fafc4a 100644
--- lib/bb/fetch2/wget.py
+++ lib/bb/fetch2/wget.py
@@ -32,8 +32,6 @@  import urllib
 from   bb import data
 from   bb.fetch2 import FetchMethod
 from   bb.fetch2 import FetchError
-from   bb.fetch2 import encodeurl
-from   bb.fetch2 import decodeurl
 from   bb.fetch2 import logger
 from   bb.fetch2 import runfetchcmd
 
@@ -77,9 +75,6 @@  class Wget(FetchMethod):
             fetchcmd = d.getVar("FETCHCOMMAND_wget", True) or d.expand(basecmd + " -P ${DL_DIR} '${URI}'")
 
         uri = uri.split(";")[0]
-        uri_decoded = list(decodeurl(uri))
-        uri_type = uri_decoded[0]
-        uri_host = uri_decoded[1]
 
         fetchcmd = fetchcmd.replace("${URI}", uri.split(";")[0])
         fetchcmd = fetchcmd.replace("${FILE}", ud.basename)