diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-08-25 15:40:34 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-08-31 12:02:24 +0100 |
commit | e6566322bd2856e14fbabd78a6307f6575ba3d8c (patch) | |
tree | 027ed4b509ac7ba0a4a7f7b58ea9747455d78815 /meta/classes/base.bbclass | |
parent | e300aa048531a5a11c4c87848551e5541b5b3022 (diff) | |
download | openembedded-core-e6566322bd2856e14fbabd78a6307f6575ba3d8c.tar.gz openembedded-core-e6566322bd2856e14fbabd78a6307f6575ba3d8c.tar.bz2 openembedded-core-e6566322bd2856e14fbabd78a6307f6575ba3d8c.zip |
meta/classes: Fix whitespace mismatch and broken functions
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/classes/base.bbclass')
-rw-r--r-- | meta/classes/base.bbclass | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index 6824f8e512..d2d5da04cf 100644 --- a/meta/classes/base.bbclass +++ b/meta/classes/base.bbclass @@ -120,12 +120,12 @@ SCENEFUNCS += "base_scenefunction" python base_scenefunction () { stamp = bb.data.getVar('STAMP', d, 1) + ".needclean" if os.path.exists(stamp): - bb.build.exec_func("do_clean", d) + bb.build.exec_func("do_clean", d) } python base_do_setscene () { - for f in (bb.data.getVar('SCENEFUNCS', d, 1) or '').split(): - bb.build.exec_func(f, d) + for f in (bb.data.getVar('SCENEFUNCS', d, 1) or '').split(): + bb.build.exec_func(f, d) if not os.path.exists(bb.data.getVar('STAMP', d, 1) + ".do_setscene"): bb.build.make_stamp("do_setscene", d) } @@ -299,8 +299,8 @@ python base_do_unpack() { local = bb.data.expand(bb.fetch.localpath(url, localdata), localdata) except bb.MalformedUrl, e: raise FuncFailed('Unable to generate local path for malformed uri: %s' % e) - if local is None: - continue + if local is None: + continue local = os.path.realpath(local) ret = oe_unpack_file(local, localdata, url) if not ret: |