diff options
Diffstat (limited to 'bitbake/lib')
-rw-r--r-- | bitbake/lib/bb/fetch2/__init__.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py index bd23533ebc..7afb2aeb73 100644 --- a/bitbake/lib/bb/fetch2/__init__.py +++ b/bitbake/lib/bb/fetch2/__init__.py | |||
@@ -1726,9 +1726,8 @@ class Fetch(object): | |||
1726 | ret = try_mirrors(self, self.d, ud, mirrors, True) | 1726 | ret = try_mirrors(self, self.d, ud, mirrors, True) |
1727 | if not ret: | 1727 | if not ret: |
1728 | # Next try checking from the original uri, u | 1728 | # Next try checking from the original uri, u |
1729 | try: | 1729 | ret = m.checkstatus(self, ud, self.d) |
1730 | ret = m.checkstatus(self, ud, self.d) | 1730 | if not ret: |
1731 | except: | ||
1732 | # Finally, try checking uri, u, from MIRRORS | 1731 | # Finally, try checking uri, u, from MIRRORS |
1733 | mirrors = mirror_from_string(self.d.getVar('MIRRORS')) | 1732 | mirrors = mirror_from_string(self.d.getVar('MIRRORS')) |
1734 | ret = try_mirrors(self, self.d, ud, mirrors, True) | 1733 | ret = try_mirrors(self, self.d, ud, mirrors, True) |