diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-11-16 11:19:01 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-11-23 10:59:56 +0000 |
commit | 8de811ae76f8a5bc160e3e3f72da3a5e08b6ca1a (patch) | |
tree | d05237b14523de16c128de71d99eed4f8f9e554e /bitbake/lib/bb/fetch2/hg.py | |
parent | 4d8ee55164303544c9cf9c9356448cbc79885815 (diff) | |
download | poky-8de811ae76f8a5bc160e3e3f72da3a5e08b6ca1a.tar.gz |
bitbake: lib/bb: Don't use deprecated bb.data.getVar/setVar API
The old style bb.data.getVar/setVar API is obsolete. Most of bitbake
doesn't use it but there were some pieces that escaped conversion. This
patch fixes the remaining users mostly in the fetchers.
(Bitbake rev: ff7892fa808116acc1ac50effa023a4cb031a5fc)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/fetch2/hg.py')
-rw-r--r-- | bitbake/lib/bb/fetch2/hg.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch2/hg.py b/bitbake/lib/bb/fetch2/hg.py index 20df8016da..a1419aade5 100644 --- a/bitbake/lib/bb/fetch2/hg.py +++ b/bitbake/lib/bb/fetch2/hg.py | |||
@@ -84,7 +84,7 @@ class Hg(FetchMethod): | |||
84 | ud.pkgdir = os.path.join(hgdir, hgsrcname) | 84 | ud.pkgdir = os.path.join(hgdir, hgsrcname) |
85 | ud.moddir = os.path.join(ud.pkgdir, ud.module) | 85 | ud.moddir = os.path.join(ud.pkgdir, ud.module) |
86 | ud.localfile = ud.moddir | 86 | ud.localfile = ud.moddir |
87 | ud.basecmd = data.getVar("FETCHCMD_hg", d, True) or "/usr/bin/env hg" | 87 | ud.basecmd = d.getVar("FETCHCMD_hg", True) or "/usr/bin/env hg" |
88 | 88 | ||
89 | ud.write_tarballs = d.getVar("BB_GENERATE_MIRROR_TARBALLS", True) | 89 | ud.write_tarballs = d.getVar("BB_GENERATE_MIRROR_TARBALLS", True) |
90 | 90 | ||