diff options
author | Xin Ouyang <Xin.Ouyang@windriver.com> | 2012-08-17 14:23:09 +0800 |
---|---|---|
committer | Xin Ouyang <Xin.Ouyang@windriver.com> | 2012-08-17 15:05:06 +0800 |
commit | a6f0b8e3f68885e0f5796c47a7e5b3e068c1d55f (patch) | |
tree | 97d435aafddcf6b8729f19c8388c411624ce2168 | |
parent | 164063e8396098239aeb3dd4faa6f6b35a6a96da (diff) | |
download | meta-selinux-a6f0b8e3f68885e0f5796c47a7e5b3e068c1d55f.tar.gz |
libselinux: Fix indent warning for python codes.
Fix these warnings:
===================
WARNING: Variable get_git_policyconfigarch contains tabs, please remove
these(....)
Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
-rw-r--r-- | recipes-security/selinux/libselinux_2.1.9.bb | 10 | ||||
-rw-r--r-- | recipes-security/selinux/libselinux_git.bb | 10 |
2 files changed, 10 insertions, 10 deletions
diff --git a/recipes-security/selinux/libselinux_2.1.9.bb b/recipes-security/selinux/libselinux_2.1.9.bb index fdc3b30..25d8519 100644 --- a/recipes-security/selinux/libselinux_2.1.9.bb +++ b/recipes-security/selinux/libselinux_2.1.9.bb | |||
@@ -22,11 +22,11 @@ FILES_${PN}-python = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/selinu | |||
22 | FILES_${PN}-dbg += "${libdir}/python${PYTHON_BASEVERSION}/site-packages/selinux/.debug/*" | 22 | FILES_${PN}-dbg += "${libdir}/python${PYTHON_BASEVERSION}/site-packages/selinux/.debug/*" |
23 | 23 | ||
24 | def get_policyconfigarch(d): | 24 | def get_policyconfigarch(d): |
25 | import re | 25 | import re |
26 | target = d.getVar('TARGET_ARCH', True) | 26 | target = d.getVar('TARGET_ARCH', True) |
27 | p = re.compile('i.86') | 27 | p = re.compile('i.86') |
28 | target = p.sub('i386',target) | 28 | target = p.sub('i386',target) |
29 | return "ARCH=%s" % (target) | 29 | return "ARCH=%s" % (target) |
30 | EXTRA_OEMAKE += "${@get_policyconfigarch(d)}" | 30 | EXTRA_OEMAKE += "${@get_policyconfigarch(d)}" |
31 | 31 | ||
32 | do_compile_append() { | 32 | do_compile_append() { |
diff --git a/recipes-security/selinux/libselinux_git.bb b/recipes-security/selinux/libselinux_git.bb index 85bc1f9..719ce4c 100644 --- a/recipes-security/selinux/libselinux_git.bb +++ b/recipes-security/selinux/libselinux_git.bb | |||
@@ -21,11 +21,11 @@ FILES_${PN}-python = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/selinu | |||
21 | FILES_${PN}-dbg += "${libdir}/python${PYTHON_BASEVERSION}/site-packages/selinux/.debug/*" | 21 | FILES_${PN}-dbg += "${libdir}/python${PYTHON_BASEVERSION}/site-packages/selinux/.debug/*" |
22 | 22 | ||
23 | def get_git_policyconfigarch(d): | 23 | def get_git_policyconfigarch(d): |
24 | import re | 24 | import re |
25 | target = d.getVar('TARGET_ARCH', True) | 25 | target = d.getVar('TARGET_ARCH', True) |
26 | p = re.compile('i.86') | 26 | p = re.compile('i.86') |
27 | target = p.sub('i386',target) | 27 | target = p.sub('i386',target) |
28 | return "ARCH=%s" % (target) | 28 | return "ARCH=%s" % (target) |
29 | EXTRA_OEMAKE += "${@get_git_policyconfigarch(d)}" | 29 | EXTRA_OEMAKE += "${@get_git_policyconfigarch(d)}" |
30 | 30 | ||
31 | do_compile_append() { | 31 | do_compile_append() { |