From f925a2c3f2385ae8c21912d7ede29f2dacab6cfd Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Thu, 16 Jun 2016 21:56:55 +0200 Subject: python_2.7.9.bbappend: fix d.getVar call Signed-off-by: Max Krummenacher Acked-by: Stefan Agner --- recipes-devtools/python/python_2.7.9.bbappend | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'recipes-devtools') diff --git a/recipes-devtools/python/python_2.7.9.bbappend b/recipes-devtools/python/python_2.7.9.bbappend index 64d3787..28e5d9e 100644 --- a/recipes-devtools/python/python_2.7.9.bbappend +++ b/recipes-devtools/python/python_2.7.9.bbappend @@ -12,8 +12,8 @@ SRC_URI += " \ ${@bb.utils.contains('PACKAGECONFIG', 'tkinter', '', 'file://dont_build_tkinter.patch', d)} \ " python __anonymous() { - if not 'openembedded-layer' in d.getVar('BBFILE_COLLECTIONS'): - if 'tkinter' in d.getVar('PACKAGECONFIG'): + if not 'openembedded-layer' in d.getVar('BBFILE_COLLECTIONS', True): + if 'tkinter' in d.getVar('PACKAGECONFIG', True): bb.error('Python PACKAGECONFIG tkinter requires tk provided by' \ 'meta-oe layer but the layer is not available.') } -- cgit v1.2.3