diff options
Diffstat (limited to 'bitbake/lib/bb/fetch2/__init__.py')
-rw-r--r-- | bitbake/lib/bb/fetch2/__init__.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py index d19f0e738e..9df91001d5 100644 --- a/bitbake/lib/bb/fetch2/__init__.py +++ b/bitbake/lib/bb/fetch2/__init__.py | |||
@@ -263,7 +263,7 @@ def subprocess_setup(): | |||
263 | # SIGPIPE errors are known issues with gzip/bash | 263 | # SIGPIPE errors are known issues with gzip/bash |
264 | signal.signal(signal.SIGPIPE, signal.SIG_DFL) | 264 | signal.signal(signal.SIGPIPE, signal.SIG_DFL) |
265 | 265 | ||
266 | def go(d, urls = None): | 266 | def download(d, urls = None): |
267 | """ | 267 | """ |
268 | Fetch all urls | 268 | Fetch all urls |
269 | init must have previously been called | 269 | init must have previously been called |
@@ -293,7 +293,7 @@ def go(d, urls = None): | |||
293 | if m.forcefetch(u, ud, d) or not localpath: | 293 | if m.forcefetch(u, ud, d) or not localpath: |
294 | # Next try fetching from the original uri, u | 294 | # Next try fetching from the original uri, u |
295 | try: | 295 | try: |
296 | m.go(u, ud, d) | 296 | m.download(u, ud, d) |
297 | localpath = ud.localpath | 297 | localpath = ud.localpath |
298 | except FetchError: | 298 | except FetchError: |
299 | # Remove any incomplete file | 299 | # Remove any incomplete file |
@@ -499,7 +499,7 @@ def try_mirrors(d, uri, mirrors, check = False, force = False): | |||
499 | if found: | 499 | if found: |
500 | return found | 500 | return found |
501 | else: | 501 | else: |
502 | ud.method.go(newuri, ud, ld) | 502 | ud.method.download(newuri, ud, ld) |
503 | return ud.localpath | 503 | return ud.localpath |
504 | except (bb.fetch2.MissingParameterError, | 504 | except (bb.fetch2.MissingParameterError, |
505 | bb.fetch2.FetchError, | 505 | bb.fetch2.FetchError, |
@@ -626,7 +626,7 @@ class Fetch(object): | |||
626 | """ | 626 | """ |
627 | return False | 627 | return False |
628 | 628 | ||
629 | def go(self, url, urldata, d): | 629 | def download(self, url, urldata, d): |
630 | """ | 630 | """ |
631 | Fetch urls | 631 | Fetch urls |
632 | Assumes localpath was called first | 632 | Assumes localpath was called first |