summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/bb/fetch2/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py
index 9a4acc2ede..ef9d75f3fe 100644
--- a/bitbake/lib/bb/fetch2/__init__.py
+++ b/bitbake/lib/bb/fetch2/__init__.py
@@ -872,7 +872,7 @@ class Fetch(object):
872 mirrors = mirror_from_string(bb.data.getVar('PREMIRRORS', self.d, True)) 872 mirrors = mirror_from_string(bb.data.getVar('PREMIRRORS', self.d, True))
873 localpath = try_mirrors(self.d, ud, mirrors, False) 873 localpath = try_mirrors(self.d, ud, mirrors, False)
874 874
875 if bb.data.getVar("BB_FETCH_PREMIRRORONLY", self.d, True) is None: 875 if bb.data.getVar("BB_FETCH_PREMIRRORONLY", self.d, True) is not None:
876 bb.data.setVar("BB_NO_NETWORK", "1", self.d) 876 bb.data.setVar("BB_NO_NETWORK", "1", self.d)
877 877
878 if not localpath and m.need_update(u, ud, self.d): 878 if not localpath and m.need_update(u, ud, self.d):