From: Olof Johansson Date: Tue, 29 Jan 2013 07:50:06 +0000 (+0100) Subject: bitbake: fetch2: Remove unused code in wget fetcher X-Git-Tag: rev_ivi_2015_02_04~13652 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=45659e8f8dfb73c003d69c394e7414a6f3cce100;p=scm%2Fbb%2Ftizen-distro.git bitbake: fetch2: Remove unused code in wget fetcher (Bitbake rev: 6d88fcee16ced3a8c1ab1daf8e88d36f70f13346) Signed-off-by: Olof Johansson Signed-off-by: Richard Purdie --- diff --git a/bitbake/lib/bb/fetch2/wget.py b/bitbake/lib/bb/fetch2/wget.py index 24eec31..36c19ca 100644 --- a/bitbake/lib/bb/fetch2/wget.py +++ b/bitbake/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 @@ -78,9 +76,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)