summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/fetch
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/fetch')
-rw-r--r--bitbake/lib/bb/fetch/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/fetch/__init__.py b/bitbake/lib/bb/fetch/__init__.py
index 5616c79ab0..e6cc1c535b 100644
--- a/bitbake/lib/bb/fetch/__init__.py
+++ b/bitbake/lib/bb/fetch/__init__.py
@@ -128,7 +128,7 @@ def encodeurl(decoded):
128 (type, host, path, user, pswd, p) = decoded 128 (type, host, path, user, pswd, p) = decoded
129 129
130 if not type or not path: 130 if not type or not path:
131 fatal("invalid or missing parameters for url encoding") 131 bb.msg.fatal(bb.msg.domain.Fetcher, "invalid or missing parameters for url encoding")
132 url = '%s://' % type 132 url = '%s://' % type
133 if user: 133 if user:
134 url += "%s" % user 134 url += "%s" % user
@@ -477,7 +477,7 @@ def try_mirrors(d, uri, mirrors, check = False):
477 try: 477 try:
478 ud = FetchData(newuri, ld) 478 ud = FetchData(newuri, ld)
479 except bb.fetch.NoMethodError: 479 except bb.fetch.NoMethodError:
480 bb.msg.debug(1, bb.msg.domain.Fetcher, "No method for %s" % url) 480 bb.msg.debug(1, bb.msg.domain.Fetcher, "No method for %s" % uri)
481 continue 481 continue
482 482
483 ud.setup_localpath(ld) 483 ud.setup_localpath(ld)