mirror of
https://git.yoctoproject.org/poky
synced 2026-06-12 13:53:48 +02:00
classes: Remove tab indentations in python code
Use 4 spaces to replace a tab. (From OE-Core rev: 55eaf8779170b9396e94dc4a44667824c4f36363) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
3518cdde5b
commit
00379e9589
@@ -1,13 +1,13 @@
|
||||
python siteconfig_do_siteconfig () {
|
||||
shared_state = sstate_state_fromvars(d)
|
||||
if shared_state['task'] != 'populate_sysroot':
|
||||
return
|
||||
if not os.path.isdir(os.path.join(d.getVar('FILE_DIRNAME'), 'site_config')):
|
||||
bb.debug(1, "No site_config directory, skipping do_siteconfig")
|
||||
return
|
||||
sstate_install(shared_state, d)
|
||||
bb.build.exec_func('do_siteconfig_gencache', d)
|
||||
sstate_clean(shared_state, d)
|
||||
shared_state = sstate_state_fromvars(d)
|
||||
if shared_state['task'] != 'populate_sysroot':
|
||||
return
|
||||
if not os.path.isdir(os.path.join(d.getVar('FILE_DIRNAME'), 'site_config')):
|
||||
bb.debug(1, "No site_config directory, skipping do_siteconfig")
|
||||
return
|
||||
sstate_install(shared_state, d)
|
||||
bb.build.exec_func('do_siteconfig_gencache', d)
|
||||
sstate_clean(shared_state, d)
|
||||
}
|
||||
|
||||
EXTRASITECONFIG ?= ""
|
||||
|
||||
Reference in New Issue
Block a user