aboutsummaryrefslogtreecommitdiffstats
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 f4e9ea96fa..9356487ea6 100644
--- a/bitbake/lib/bb/fetch2/__init__.py
+++ b/bitbake/lib/bb/fetch2/__init__.py
@@ -881,7 +881,7 @@ class Fetch(object):
lf = bb.utils.lockfile(ud.lockfile)
try:
- network = bb.data.getVar("BB_NO_NETWORK", self.d, True)
+ bb.data.setVar("BB_NO_NETWORK", network, self.d)
if not m.need_update(u, ud, self.d):
localpath = ud.localpath