summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/fetch2/__init__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py
index 73ac73a112..067d60cc9f 100644
--- a/bitbake/lib/bb/fetch2/__init__.py
+++ b/bitbake/lib/bb/fetch2/__init__.py
@@ -184,7 +184,8 @@ def encodeurl(decoded):
184 184
185def uri_replace(ud, uri_find, uri_replace, d): 185def uri_replace(ud, uri_find, uri_replace, d):
186 if not ud.url or not uri_find or not uri_replace: 186 if not ud.url or not uri_find or not uri_replace:
187 logger.debug(1, "uri_replace: passed an undefined value, not replacing") 187 logger.error("uri_replace: passed an undefined value, not replacing")
188 return None
188 uri_decoded = list(decodeurl(ud.url)) 189 uri_decoded = list(decodeurl(ud.url))
189 uri_find_decoded = list(decodeurl(uri_find)) 190 uri_find_decoded = list(decodeurl(uri_find))
190 uri_replace_decoded = list(decodeurl(uri_replace)) 191 uri_replace_decoded = list(decodeurl(uri_replace))