diff options
author | Olof Johansson <olof.johansson@axis.com> | 2013-01-29 08:50:06 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-02-17 22:32:04 +0000 |
commit | 46bd4fd9f0f3e2f30ccff63dd1ba93a43ac3e19c (patch) | |
tree | 4a865d7748bf89e2449928b3af9a476e995aa272 /bitbake/lib/bb/fetch2 | |
parent | e13755a542ca711e34cde637faea890bd18536c1 (diff) | |
download | poky-46bd4fd9f0f3e2f30ccff63dd1ba93a43ac3e19c.tar.gz |
bitbake: fetch2: Remove unused code in wget fetcher
(Bitbake rev: 6d88fcee16ced3a8c1ab1daf8e88d36f70f13346)
Signed-off-by: Olof Johansson <olof.johansson@axis.com>
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 | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/bitbake/lib/bb/fetch2/wget.py b/bitbake/lib/bb/fetch2/wget.py index 24eec318b4..36c19cabd3 100644 --- a/bitbake/lib/bb/fetch2/wget.py +++ b/bitbake/lib/bb/fetch2/wget.py | |||
@@ -32,8 +32,6 @@ import urllib | |||
32 | from bb import data | 32 | from bb import data |
33 | from bb.fetch2 import FetchMethod | 33 | from bb.fetch2 import FetchMethod |
34 | from bb.fetch2 import FetchError | 34 | from bb.fetch2 import FetchError |
35 | from bb.fetch2 import encodeurl | ||
36 | from bb.fetch2 import decodeurl | ||
37 | from bb.fetch2 import logger | 35 | from bb.fetch2 import logger |
38 | from bb.fetch2 import runfetchcmd | 36 | from bb.fetch2 import runfetchcmd |
39 | 37 | ||
@@ -78,9 +76,6 @@ class Wget(FetchMethod): | |||
78 | fetchcmd = d.getVar("FETCHCOMMAND_wget", True) or d.expand(basecmd + " -P ${DL_DIR} '${URI}'") | 76 | fetchcmd = d.getVar("FETCHCOMMAND_wget", True) or d.expand(basecmd + " -P ${DL_DIR} '${URI}'") |
79 | 77 | ||
80 | uri = uri.split(";")[0] | 78 | uri = uri.split(";")[0] |
81 | uri_decoded = list(decodeurl(uri)) | ||
82 | uri_type = uri_decoded[0] | ||
83 | uri_host = uri_decoded[1] | ||
84 | 79 | ||
85 | fetchcmd = fetchcmd.replace("${URI}", uri.split(";")[0]) | 80 | fetchcmd = fetchcmd.replace("${URI}", uri.split(";")[0]) |
86 | fetchcmd = fetchcmd.replace("${FILE}", ud.basename) | 81 | fetchcmd = fetchcmd.replace("${FILE}", ud.basename) |