Bug 3795 - cache.py: remove the duplicated self.file_depends
Summary: cache.py: remove the duplicated self.file_depends
Status: VERIFIED FIXED
Alias: None
Product: BitBake
Classification: Build System, Metadata & Runtime
Component: bitbake (show other bugs)
Version: 1.4
Hardware: x86 Multiple
: Undecided normal
Target Milestone: 1.4 M4
Assignee: Robert Yang
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2013-01-25 02:32 UTC by Robert Yang
Modified: 2013-01-29 07:05 UTC (History)
6 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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