diff options
Diffstat (limited to 'bitbake/lib/bb/fetch/__init__.py')
-rw-r--r-- | bitbake/lib/bb/fetch/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/fetch/__init__.py b/bitbake/lib/bb/fetch/__init__.py index 435c02683c..d181eea71b 100644 --- a/bitbake/lib/bb/fetch/__init__.py +++ b/bitbake/lib/bb/fetch/__init__.py | |||
@@ -139,7 +139,7 @@ def encodeurl(decoded): | |||
139 | url += "%s" % host | 139 | url += "%s" % host |
140 | url += "%s" % path | 140 | url += "%s" % path |
141 | if p: | 141 | if p: |
142 | for parm in p.keys(): | 142 | for parm in p: |
143 | url += ";%s=%s" % (parm, p[parm]) | 143 | url += ";%s=%s" % (parm, p[parm]) |
144 | 144 | ||
145 | return url | 145 | return url |
@@ -169,7 +169,7 @@ def uri_replace(uri, uri_find, uri_replace, d): | |||
169 | # bb.msg.note(1, bb.msg.domain.Fetcher, "uri_replace: no match") | 169 | # bb.msg.note(1, bb.msg.domain.Fetcher, "uri_replace: no match") |
170 | return uri | 170 | return uri |
171 | # else: | 171 | # else: |
172 | # for j in i.keys(): | 172 | # for j in i: |
173 | # FIXME: apply replacements against options | 173 | # FIXME: apply replacements against options |
174 | return bb.encodeurl(result_decoded) | 174 | return bb.encodeurl(result_decoded) |
175 | 175 | ||