* Paul Eggleton : bitbake-layers: fix Python error during parse
@ 2012-01-04 14:22 git
0 siblings, 0 replies; only message in thread
From: git @ 2012-01-04 14:22 UTC (permalink / raw)
To: bitbake-devel
Module: bitbake.git
Branch: master
Commit: a228f0a32c2c14d62effbbba5f4fada4cd3817f6
URL: http://git.openembedded.org/?p=bitbake.git&a=commit;h=a228f0a32c2c14d62effbbba5f4fada4cd3817f6
Author: Paul Eggleton <paul.eggleton@linux.intel.com>
Date: Thu Dec 29 14:34:12 2011 +0000
bitbake-layers: fix Python error during parse
If "bitbake-layers show_layers" was run when the cache was dirty forcing
a parse, it failed with the following error:
ERROR: Failure expanding variable SRCPV, expression was
${@bb.fetch2.get_srcrev(d)} which triggered exception AttributeError:
'module' object has no attribute 'fetch2'
A simple import of bb.fetch2 in bitbake-layers fixes this.
Fixes [YOCTO #1855].
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
bin/bitbake-layers | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/bin/bitbake-layers b/bin/bitbake-layers
index 119b15c..b2781bb 100755
--- a/bin/bitbake-layers
+++ b/bin/bitbake-layers
@@ -18,6 +18,7 @@ import bb.cooker
import bb.providers
import bb.utils
from bb.cooker import state
+import bb.fetch2
logger = logging.getLogger('BitBake')
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2012-01-04 14:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-04 14:22 Paul Eggleton : bitbake-layers: fix Python error during parse git
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.