mirror of
https://git.yoctoproject.org/meta-security
synced 2026-05-31 00:40:19 +00:00
apparmor: Remove tab indentations in python code
Use 4 spaces to replace a tab. Fixed: apparmor_2.12.bb: python should use 4 spaces indentation, but found tabs in apparmor_2.12.bb, line 49 Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
committed by
Armin Kuster
parent
de9d6d1793
commit
393db42323
@@ -21,7 +21,7 @@ SRC_URI = " \
|
|||||||
file://functions \
|
file://functions \
|
||||||
file://apparmor \
|
file://apparmor \
|
||||||
file://apparmor.service \
|
file://apparmor.service \
|
||||||
file://run-ptest \
|
file://run-ptest \
|
||||||
"
|
"
|
||||||
|
|
||||||
SRC_URI[md5sum] = "49054f58042f8e51ea92cc866575a833"
|
SRC_URI[md5sum] = "49054f58042f8e51ea92cc866575a833"
|
||||||
@@ -46,7 +46,7 @@ HTTPD="${@bb.utils.contains('PACKAGECONFIG', 'apache2', '1', '0', d)}"
|
|||||||
|
|
||||||
python() {
|
python() {
|
||||||
if 'apache2' in d.getVar('PACKAGECONFIG').split() and \
|
if 'apache2' in d.getVar('PACKAGECONFIG').split() and \
|
||||||
'webserver' not in d.getVar('BBFILE_COLLECTIONS').split():
|
'webserver' not in d.getVar('BBFILE_COLLECTIONS').split():
|
||||||
raise bb.parse.SkipRecipe('Requires meta-webserver to be present.')
|
raise bb.parse.SkipRecipe('Requires meta-webserver to be present.')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user