summaryrefslogtreecommitdiff
path: root/meta/classes/base.bbclass
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2016-09-12 01:32:08 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-09-14 22:20:03 +0100
commit33b0d940b09a5ce1462476614213a58d3d62e80d (patch)
tree98663d98a1829003a6a9a48fccfe0243647bbd99 /meta/classes/base.bbclass
parent79fe476be233015c1c90e9c3fb4572267b5551d1 (diff)
downloadopenembedded-core-33b0d940b09a5ce1462476614213a58d3d62e80d.tar.gz
openembedded-core-33b0d940b09a5ce1462476614213a58d3d62e80d.tar.bz2
openembedded-core-33b0d940b09a5ce1462476614213a58d3d62e80d.zip
meta: cleanup d.getVar(var, 0)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/classes/base.bbclass')
-rw-r--r--meta/classes/base.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index a31a53fcb6..5a1bd3abcb 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -472,7 +472,7 @@ python () {
else:
raise bb.parse.SkipPackage("incompatible with machine %s (not in COMPATIBLE_MACHINE)" % d.getVar('MACHINE', True))
- source_mirror_fetch = d.getVar('SOURCE_MIRROR_FETCH', 0)
+ source_mirror_fetch = d.getVar('SOURCE_MIRROR_FETCH', False)
if not source_mirror_fetch:
need_host = d.getVar('COMPATIBLE_HOST', True)
if need_host: