Skip to contentSkip to conversation

apparmor: Remove tab indentations in python code

PATCH New Robert Yang 1 participant 1 message Dec 6, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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

---
 recipes-security/AppArmor/apparmor_2.12.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
recipes-security/AppArmor/apparmor_2.12.bb +2 -2
index de7f4ef..e3f8dc9 100644
@@ -21,7 +21,7 @@ SRC_URI = " \
 	file://functions \
 	file://apparmor \
 	file://apparmor.service \
-        file://run-ptest \
+	file://run-ptest \
 	"
 
 SRC_URI[md5sum] = "49054f58042f8e51ea92cc866575a833"
@@ -46,7 +46,7 @@ HTTPD="${@bb.utils.contains('PACKAGECONFIG', 'apache2', '1', '0', d)}"
 
 python() {
     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.')
 }
 
Signature · 1 line
2.10.2