diff options
author | Yu Ke <ke.yu@intel.com> | 2011-01-18 23:03:53 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-01-25 12:25:47 +0000 |
commit | e05918937c515dff845fcb4c9e94f8ecbea8c957 (patch) | |
tree | c07942361428a8271af45fd53c02a1c3840aa5a8 /bitbake/lib/bb/fetch2/wget.py | |
parent | 8615b0e282baadf1ac342ec38b7c79e0ac351613 (diff) | |
download | poky-e05918937c515dff845fcb4c9e94f8ecbea8c957.tar.gz |
bb.fetch2: rename "go" with "download" to better reflect its functionality
no functional change
Signed-off-by: Yu Ke <ke.yu@intel.com>
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 cf36ccad0a..91cfafb5b5 100644 --- a/bitbake/lib/bb/fetch2/wget.py +++ b/bitbake/lib/bb/fetch2/wget.py | |||
@@ -48,7 +48,7 @@ class Wget(Fetch): | |||
48 | 48 | ||
49 | return os.path.join(data.getVar("DL_DIR", d, True), ud.localfile) | 49 | return os.path.join(data.getVar("DL_DIR", d, True), ud.localfile) |
50 | 50 | ||
51 | def go(self, uri, ud, d, checkonly = False): | 51 | def download(self, uri, ud, d, checkonly = False): |
52 | """Fetch urls""" | 52 | """Fetch urls""" |
53 | 53 | ||
54 | def fetch_uri(uri, ud, d): | 54 | def fetch_uri(uri, ud, d): |
@@ -90,4 +90,4 @@ class Wget(Fetch): | |||
90 | 90 | ||
91 | 91 | ||
92 | def checkstatus(self, uri, ud, d): | 92 | def checkstatus(self, uri, ud, d): |
93 | return self.go(uri, ud, d, True) | 93 | return self.download(uri, ud, d, True) |