diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-10-06 23:06:21 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-10-06 22:43:08 +0100 |
commit | 373db49de0e30239fc8c7c3ce74d635fd7d6cd70 (patch) | |
tree | ab1d723b8273819fbe1e907dcf9ea85e69b8353a /meta/classes/base.bbclass | |
parent | cc626b9e1671670a931ea3e528ea4b0f7b2e923b (diff) | |
download | openembedded-core-373db49de0e30239fc8c7c3ce74d635fd7d6cd70.tar.gz openembedded-core-373db49de0e30239fc8c7c3ce74d635fd7d6cd70.tar.bz2 openembedded-core-373db49de0e30239fc8c7c3ce74d635fd7d6cd70.tar.xz openembedded-core-373db49de0e30239fc8c7c3ce74d635fd7d6cd70.zip |
base.bbclass: Minor cleanup
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/base.bbclass')
-rw-r--r-- | meta/classes/base.bbclass | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index 57f1c3f4f..7cd6efad1 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 |