summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/fetch2/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/fetch2/__init__.py')
-rw-r--r--bitbake/lib/bb/fetch2/__init__.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py
index 00fafb68c1..fae1addf77 100644
--- a/bitbake/lib/bb/fetch2/__init__.py
+++ b/bitbake/lib/bb/fetch2/__init__.py
@@ -178,6 +178,9 @@ def encodeurl(decoded):
178 url += "@" 178 url += "@"
179 if host and type != "file": 179 if host and type != "file":
180 url += "%s" % host 180 url += "%s" % host
181 # Standardise path to ensure comparisons work
182 while '//' in path:
183 path = path.replace("//", "/")
181 url += "%s" % urllib.quote(path) 184 url += "%s" % urllib.quote(path)
182 if p: 185 if p:
183 for parm in p: 186 for parm in p: