From b8e2bab119be251e3a3395dc55cf25b32504272c Mon Sep 17 00:00:00 2001 From: Robert Yang Date: Mon, 12 Sep 2016 01:32:07 -0700 Subject: meta: cleanup d.getVar(var, 1) (From OE-Core rev: 79fe476be233015c1c90e9c3fb4572267b5551d1) Signed-off-by: Robert Yang Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- meta/recipes-devtools/apt/apt-native.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/recipes-devtools/apt') diff --git a/meta/recipes-devtools/apt/apt-native.inc b/meta/recipes-devtools/apt/apt-native.inc index 59aa04e119..9fa206efe1 100644 --- a/meta/recipes-devtools/apt/apt-native.inc +++ b/meta/recipes-devtools/apt/apt-native.inc @@ -17,7 +17,7 @@ python do_install () { } python do_install_config () { - indir = os.path.dirname(d.getVar('FILE',1)) + indir = os.path.dirname(d.getVar('FILE', True)) infile = open(oe.path.join(indir, 'files', 'apt.conf'), 'r') data = infile.read() infile.close() -- cgit v1.2.3-54-g00ecf