diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2013-01-25 16:34:13 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-01-25 12:39:37 +0000 |
commit | 409a4aa0e166c25a8cfcd91e54f1b61cced74e87 (patch) | |
tree | 4982ec1e888606756317c9474858d4afb479a1ac /lib/bb/cache.py | |
parent | 00533e83038e3d5e3cd5d1be73c45afece92ec0c (diff) | |
download | bitbake-409a4aa0e166c25a8cfcd91e54f1b61cced74e87.tar.gz |
cache.py: remove the duplicated self.file_depends
There are two "self.file_depends =" lines in cache.py::CoreRecipeInfo:
class CoreRecipeInfo(RecipeInfoCommon):
__slots__ = ()
cachefile = "bb_cache.dat"
def __init__(self, filename, metadata):
self.file_depends = metadata.getVar('__depends', False)
[snip]
self.file_depends = metadata.getVar('__depends', False)
They are duplicated, remove the last one.
[YOCTO #3795]
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/cache.py')
-rw-r--r-- | lib/bb/cache.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/bb/cache.py b/lib/bb/cache.py index a3c073a59..fd5fbb32f 100644 --- a/lib/bb/cache.py +++ b/lib/bb/cache.py @@ -119,7 +119,6 @@ class CoreRecipeInfo(RecipeInfoCommon): self.basetaskhashes = self.taskvar('BB_BASEHASH', self.tasks, metadata) self.hashfilename = self.getvar('BB_HASHFILENAME', metadata) - self.file_depends = metadata.getVar('__depends', False) self.task_deps = metadata.getVar('_task_deps', False) or {'tasks': [], 'parents': {}} self.skipped = False |