All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] cache.py: remove the duplicated self.file_depends
@ 2013-01-25  8:34 Robert Yang
  2013-01-25  8:34 ` [PATCH 1/1] " Robert Yang
  0 siblings, 1 reply; 2+ messages in thread
From: Robert Yang @ 2013-01-25  8:34 UTC (permalink / raw)
  To: bitbake-devel; +Cc: Zhenfeng.Zhao

The following changes since commit ec2e1349f8ef7116f2f451b52b7d228199388147:

  bitbake-layers: print the recipe's depends that crosses a layer boundary (2013-01-25 10:18:23 +0800)

are available in the git repository at:
  git://git.pokylinux.org/poky-contrib robert/cache.py
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=robert/cache.py

Robert Yang (1):
  cache.py: remove the duplicated self.file_depends

 bitbake/lib/bb/cache.py |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)




^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH 1/1] cache.py: remove the duplicated self.file_depends
  2013-01-25  8:34 [PATCH 0/1] cache.py: remove the duplicated self.file_depends Robert Yang
@ 2013-01-25  8:34 ` Robert Yang
  0 siblings, 0 replies; 2+ messages in thread
From: Robert Yang @ 2013-01-25  8:34 UTC (permalink / raw)
  To: bitbake-devel; +Cc: Zhenfeng.Zhao

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>
---
 bitbake/lib/bb/cache.py |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/bitbake/lib/bb/cache.py b/bitbake/lib/bb/cache.py
index a3c073a..fd5fbb3 100644
--- a/bitbake/lib/bb/cache.py
+++ b/bitbake/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
-- 
1.7.1




^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-01-25 12:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-25  8:34 [PATCH 0/1] cache.py: remove the duplicated self.file_depends Robert Yang
2013-01-25  8:34 ` [PATCH 1/1] " Robert Yang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.