diff options
author | Yu Ke <ke.yu@intel.com> | 2011-01-18 23:03:53 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-02-10 23:36:42 +0000 |
commit | a8f231507842a8202783276f554ad42ce762c935 (patch) | |
tree | 0975cfae2b0fa07b50d8aadef2af8e930d070f01 /lib/bb/fetch2/__init__.py | |
parent | 84a521be512cc10ba13097ad251e9ce94e2df68c (diff) | |
download | bitbake-a8f231507842a8202783276f554ad42ce762c935.tar.gz |
bb.fetch2: rename "go" with "download" to better reflect its functionality
no functional change
(From Poky rev: e05918937c515dff845fcb4c9e94f8ecbea8c957)
Signed-off-by: Yu Ke <ke.yu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/fetch2/__init__.py')
-rw-r--r-- | lib/bb/fetch2/__init__.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/bb/fetch2/__init__.py b/lib/bb/fetch2/__init__.py index d19f0e738..9df91001d 100644 --- a/lib/bb/fetch2/__init__.py +++ b/lib/bb/fetch2/__init__.py @@ -263,7 +263,7 @@ def subprocess_setup(): # SIGPIPE errors are known issues with gzip/bash signal.signal(signal.SIGPIPE, signal.SIG_DFL) -def go(d, urls = None): +def download(d, urls = None): """ Fetch all urls init must have previously been called @@ -293,7 +293,7 @@ def go(d, urls = None): if m.forcefetch(u, ud, d) or not localpath: # Next try fetching from the original uri, u try: - m.go(u, ud, d) + m.download(u, ud, d) localpath = ud.localpath except FetchError: # Remove any incomplete file @@ -499,7 +499,7 @@ def try_mirrors(d, uri, mirrors, check = False, force = False): if found: return found else: - ud.method.go(newuri, ud, ld) + ud.method.download(newuri, ud, ld) return ud.localpath except (bb.fetch2.MissingParameterError, bb.fetch2.FetchError, @@ -626,7 +626,7 @@ class Fetch(object): """ return False - def go(self, url, urldata, d): + def download(self, url, urldata, d): """ Fetch urls Assumes localpath was called first |