* Dongxiao Xu : command.py: Modify needcache value for certain functions
@ 2012-01-06 16:02 git
0 siblings, 0 replies; only message in thread
From: git @ 2012-01-06 16:02 UTC (permalink / raw)
To: bitbake-devel
Module: bitbake.git
Branch: master
Commit: 3ef73dee8b08ccfd15a4901cce315a99b22e71d7
URL: http://git.openembedded.org/?p=bitbake.git&a=commit;h=3ef73dee8b08ccfd15a4901cce315a99b22e71d7
Author: Dongxiao Xu <dongxiao.xu@intel.com>
Date: Fri Jan 6 17:02:19 2012 +0800
command.py: Modify needcache value for certain functions
for findConfigFiels() and findFilesMatchingInDir() functions, they
don't need to parse all the bb files, thus setting the needcache
value to be False.
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
lib/bb/command.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/bb/command.py b/lib/bb/command.py
index 83907f6..5dec6a9 100644
--- a/lib/bb/command.py
+++ b/lib/bb/command.py
@@ -241,7 +241,7 @@ class CommandsAsync:
command.cooker.findConfigFiles(varname)
command.finishAsyncCommand()
- findConfigFiles.needcache = True
+ findConfigFiles.needcache = False
def findFilesMatchingInDir(self, command, params):
"""
@@ -253,7 +253,7 @@ class CommandsAsync:
command.cooker.findFilesMatchingInDir(pattern, directory)
command.finishAsyncCommand()
- findFilesMatchingInDir.needcache = True
+ findFilesMatchingInDir.needcache = False
def findConfigFilePath(self, command, params):
"""
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2012-01-06 16:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-06 16:02 Dongxiao Xu : command.py: Modify needcache value for certain functions git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox