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__.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 731c160892..18a6819d5d 100644
--- a/bitbake/lib/bb/fetch2/__init__.py
+++ b/bitbake/lib/bb/fetch2/__init__.py
@@ -1081,7 +1081,7 @@ def try_mirrors(fetch, d, origud, mirrors, check = False):
1081 1081
1082 for index, uri in enumerate(uris): 1082 for index, uri in enumerate(uris):
1083 ret = try_mirror_url(fetch, origud, uds[index], ld, check) 1083 ret = try_mirror_url(fetch, origud, uds[index], ld, check)
1084 if ret != False: 1084 if ret:
1085 return ret 1085 return ret
1086 return None 1086 return None
1087 1087
@@ -1351,7 +1351,7 @@ class FetchMethod(object):
1351 """ 1351 """
1352 1352
1353 # We cannot compute checksums for directories 1353 # We cannot compute checksums for directories
1354 if os.path.isdir(urldata.localpath) == True: 1354 if os.path.isdir(urldata.localpath):
1355 return False 1355 return False
1356 if urldata.localpath.find("*") != -1: 1356 if urldata.localpath.find("*") != -1:
1357 return False 1357 return False