summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDongxiao Xu <dongxiao.xu@intel.com>2011-01-20 21:02:11 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-01-20 23:29:25 +0000
commit5da9423217a5cd204d17a0f7bbe248082a1b257c (patch)
tree8acd0b9c82034dc6d459a4f617680f53a9c6de2a
parentd4f537965b3a530ca7ed3bce206abbff810031e8 (diff)
downloadopenembedded-core-5da9423217a5cd204d17a0f7bbe248082a1b257c.tar.gz
openembedded-core-5da9423217a5cd204d17a0f7bbe248082a1b257c.tar.bz2
openembedded-core-5da9423217a5cd204d17a0f7bbe248082a1b257c.zip
bitbake: fix parameter order for flaglist()
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
-rw-r--r--bitbake/lib/bb/cache.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/cache.py b/bitbake/lib/bb/cache.py
index 262f574f51..ff42a37b44 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