From 4cd96710785eb05abeff1f281878655118d4a7dd Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 25 Nov 2011 14:57:53 +0000 Subject: bitbake: Update users of getVar/setVar to use the data store functions directly Signed-off-by: Richard Purdie --- bitbake/doc/manual/usermanual.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bitbake/doc') diff --git a/bitbake/doc/manual/usermanual.xml b/bitbake/doc/manual/usermanual.xml index 687503b1cb..fa53ace45f 100644 --- a/bitbake/doc/manual/usermanual.xml +++ b/bitbake/doc/manual/usermanual.xml @@ -186,7 +186,7 @@ include directive. Defining Python functions into the global Python namespace NOTE: This is only supported in .bb and .bbclass files. def get_depends(bb, d): - if bb.data.getVar('SOMECONDITION', d, True): + if d.getVar('SOMECONDITION', True): return "dependencywithcond" else: return "dependency" -- cgit v1.2.3-54-g00ecf