Bug 3795

Summary: cache.py: remove the duplicated self.file_depends
Product: [Build System, Metadata & Runtime] BitBake Reporter: Robert Yang <liezhi.yang>
Component: bitbakeAssignee: Robert Yang <liezhi.yang>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: Undecided CC: liang.li2, poky.bs.watcher, poky.watcher, richard.purdie, sgw, zhenfeng.zhao
Version: 1.4   
Target Milestone: 1.4 M4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Robert Yang 2013-01-25 02:32:00 UTC
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.
Comment 2 liang li 2013-01-29 07:05:34 UTC
no error related to this change when build qemuppc minimal image.
git info:cfb082961a6c9ac3d65738031c4071210529cd07
git branch: poky/master