summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/fetch2/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py
index 11a813e028..43ba772dbf 100644
--- a/bitbake/lib/bb/fetch2/__init__.py
+++ b/bitbake/lib/bb/fetch2/__init__.py
@@ -108,12 +108,12 @@ def encodeurl(decoded):
108 if not type or not path: 108 if not type or not path:
109 raise MissingParameterError("Type or path url components missing when encoding %s" % decoded) 109 raise MissingParameterError("Type or path url components missing when encoding %s" % decoded)
110 url = '%s://' % type 110 url = '%s://' % type
111 if user: 111 if user and type != "file":
112 url += "%s" % user 112 url += "%s" % user
113 if pswd: 113 if pswd:
114 url += ":%s" % pswd 114 url += ":%s" % pswd
115 url += "@" 115 url += "@"
116 if host: 116 if host and type != "file":
117 url += "%s" % host 117 url += "%s" % host
118 url += "%s" % path 118 url += "%s" % path
119 if p: 119 if p: