diff options
author | Richard Purdie <rpurdie@rpsys.net> | 2006-11-20 09:40:17 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@rpsys.net> | 2006-11-20 09:40:17 +0000 |
commit | a050fa1ffdebd94452b185cb31022e3a0a2e9d2a (patch) | |
tree | 23b442856d180c589fe90378fcf7ff4a9c15bc59 /classes/base.bbclass | |
parent | aea8fb5d62aff1f9056326fd5b8fd54d791912f0 (diff) |
classes: Clean up anonymous function whitespace
Diffstat (limited to 'classes/base.bbclass')
-rw-r--r-- | classes/base.bbclass | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/classes/base.bbclass b/classes/base.bbclass index 18e6aec814..5404b5f9b2 100644 --- a/classes/base.bbclass +++ b/classes/base.bbclass @@ -688,17 +688,17 @@ def base_after_parse_two(d): need_machine = bb.data.getVar('COMPATIBLE_MACHINE', d, 1) if need_machine: - import re - this_machine = bb.data.getVar('MACHINE', d, 1) - if this_machine and not re.match(need_machine, this_machine): - raise bb.parse.SkipPackage("incompatible with machine %s" % this_machine) + import re + this_machine = bb.data.getVar('MACHINE', d, 1) + if this_machine and not re.match(need_machine, this_machine): + raise bb.parse.SkipPackage("incompatible with machine %s" % this_machine) pn = bb.data.getVar('PN', d, 1) # OBSOLETE in bitbake 1.7.4 srcdate = bb.data.getVar('SRCDATE_%s' % pn, d, 1) if srcdate != None: - bb.data.setVar('SRCDATE', srcdate, d) + bb.data.setVar('SRCDATE', srcdate, d) use_nls = bb.data.getVar('USE_NLS_%s' % pn, d, 1) if use_nls != None: @@ -715,7 +715,7 @@ def base_after_parse(d): return paths = [] for p in [ "${FILE_DIRNAME}/${PF}", "${FILE_DIRNAME}/${P}", "${FILE_DIRNAME}/${PN}", "${FILE_DIRNAME}/files", "${FILE_DIRNAME}" ]: - paths.append(bb.data.expand(os.path.join(p, mach_arch), d)) + paths.append(bb.data.expand(os.path.join(p, mach_arch), d)) for s in bb.data.getVar('SRC_URI', d, 1).split(): local = bb.data.expand(bb.fetch.localpath(s, d), d) for mp in paths: |