bitbake: cache.py: remove the duplicated self.file_depends
authorRobert Yang <liezhi.yang@windriver.com>
Fri, 25 Jan 2013 08:34:13 +0000 (16:34 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 25 Jan 2013 12:42:08 +0000 (12:42 +0000)
commit5a1b01a30aa1622c38c8e7af9b1f915c642006a8
tree12653a57086305974f0f43e58a62d69cf98d2310
parent2bf689518ef2bf742160662109e3a34c606ae6a9
bitbake: 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]

(Bitbake rev: 409a4aa0e166c25a8cfcd91e54f1b61cced74e87)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/cache.py