* base.bbclass: Minor cleanup
@ 2011-10-06 14:17 Richard Purdie
0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2011-10-06 14:17 UTC (permalink / raw)
To: openembedded-core
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index 57f1c3f..7cd6efa 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -202,7 +202,6 @@ def preferred_ml_updates(d):
addhandler base_eventhandler
python base_eventhandler() {
- from bb import note, error, data
from bb.event import getName
name = getName(e)
@@ -212,7 +211,7 @@ python base_eventhandler() {
statusvars = ['BB_VERSION', 'TARGET_ARCH', 'TARGET_OS', 'MACHINE', 'DISTRO', 'DISTRO_VERSION','TUNE_FEATURES', 'TARGET_FPU']
statuslines = ["%-17s = \"%s\"" % (i, bb.data.getVar(i, e.data, 1) or '') for i in statusvars]
- layers = (data.getVar("BBLAYERS", e.data, 1) or "").split()
+ layers = (bb.data.getVar("BBLAYERS", e.data, 1) or "").split()
layers_branch_rev = ["%-17s = \"%s:%s\"" % (os.path.basename(i), \
base_get_metadata_git_branch(i, None).strip(), \
base_get_metadata_git_revision(i, None)) \
@@ -248,9 +247,6 @@ python base_eventhandler() {
generate_git_config(e)
pkgarch_mapping(e.data)
preferred_ml_updates(e.data)
-
- if not data in e.__dict__:
- return
}
addtask configure after do_patch
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2011-10-06 14:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-06 14:17 base.bbclass: Minor cleanup Richard Purdie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox