diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-02-03 21:20:39 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-02-10 23:36:57 +0000 |
commit | e793a2ded0f037390375328fda2aea3441f1efe8 (patch) | |
tree | 2a3d8972b94d2ca42c102ee6ceeed94575c0243e /lib/bb/fetch2/wget.py | |
parent | fdab13939be23227d49db7bd5b9c01cd10737a47 (diff) | |
download | bitbake-e793a2ded0f037390375328fda2aea3441f1efe8.tar.gz |
bitbake/fetch2: Define a sane localpath function and remove code duplication
(From Poky rev: 5a52cb80d6d62c704692ad6cfa93426c4a17bc52)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/fetch2/wget.py')
-rw-r--r-- | lib/bb/fetch2/wget.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/bb/fetch2/wget.py b/lib/bb/fetch2/wget.py index a281bdcb4..8d623721a 100644 --- a/lib/bb/fetch2/wget.py +++ b/lib/bb/fetch2/wget.py @@ -45,9 +45,6 @@ class Wget(Fetch): ud.basename = os.path.basename(ud.path) ud.localfile = data.expand(urllib.unquote(ud.basename), d) - def localpath(self, url, ud, d): - return os.path.join(data.getVar("DL_DIR", d, True), ud.localfile) - def download(self, uri, ud, d, checkonly = False): """Fetch urls""" |