From 5da9423217a5cd204d17a0f7bbe248082a1b257c Mon Sep 17 00:00:00 2001 From: Dongxiao Xu Date: Thu, 20 Jan 2011 21:02:11 +0800 Subject: bitbake: fix parameter order for flaglist() Signed-off-by: Dongxiao Xu --- bitbake/lib/bb/cache.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bitbake/lib/bb') diff --git a/bitbake/lib/bb/cache.py b/bitbake/lib/bb/cache.py index 262f574f5..ff42a37b4 100644 --- a/bitbake/lib/bb/cache.py +++ b/bitbake/lib/bb/cache.py @@ -43,7 +43,7 @@ except ImportError: logger.info("Importing cPickle failed. " "Falling back to a very slow implementation.") -__cache_version__ = "135" +__cache_version__ = "136" recipe_fields = ( 'pn', @@ -104,7 +104,7 @@ class RecipeInfo(namedtuple('RecipeInfo', recipe_fields)): @classmethod def flaglist(cls, flag, varlist, metadata): - return dict((var, metadata.getVarFlag(flag, var, True)) + return dict((var, metadata.getVarFlag(var, flag, True)) for var in varlist) @classmethod -- cgit v1.2.3