diff options
Diffstat (limited to 'bitbake/lib/bb/fetch2/wget.py')
-rw-r--r-- | bitbake/lib/bb/fetch2/wget.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/fetch2/wget.py b/bitbake/lib/bb/fetch2/wget.py index 88cb8c7fe..a281bdcb4 100644 --- a/bitbake/lib/bb/fetch2/wget.py +++ b/bitbake/lib/bb/fetch2/wget.py @@ -40,12 +40,12 @@ class Wget(Fetch): """ return ud.type in ['http', 'https', 'ftp'] - def localpath(self, url, ud, d): + def urldata_init(self, ud, d): - url = encodeurl([ud.type, ud.host, ud.path, ud.user, ud.pswd, {}]) 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): |