Skip to contentSkip to conversation

python/sepolgen: always indent with 4 spaces

PATCH In review Nicolas Iooss 2 participants 2 messages Dec 15, 2018 – Dec 19, 2018 SELinux security module

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python/sepolgen: always indent with 4 spaces

p_attribute_role_def() used tabs.

---
 python/sepolgen/src/sepolgen/refparser.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
python/sepolgen/src/sepolgen/refparser.py +3 -3
index 97e2342c4693..9fb931828278 100644
@@ -757,9 +757,9 @@ def p_attribute_def(p):
     p[0] = a
 
 def p_attribute_role_def(p):
-	'attribute_role_def : ATTRIBUTE_ROLE IDENTIFIER SEMI'
-	a = refpolicy.Attribute_Role(p[2])
-	p[0] = a
+    'attribute_role_def : ATTRIBUTE_ROLE IDENTIFIER SEMI'
+    a = refpolicy.Attribute_Role(p[2])
+    p[0] = a
 
 def p_typealias_def(p):
     'typealias_def : TYPEALIAS IDENTIFIER ALIAS names SEMI'
Signature · 1 line
2.19.2
#1 lore raw
Quoted 3 lines · Nicolas Iooss

p_attribute_role_def() used tabs.

Merged. Thanks!

Quoted 21 lines
---
 python/sepolgen/src/sepolgen/refparser.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
python/sepolgen/src/sepolgen/refparser.py +3 -3
index 97e2342c4693..9fb931828278 100644
@@ -757,9 +757,9 @@ def p_attribute_def(p):
     p[0] = a
 
 def p_attribute_role_def(p):
-	'attribute_role_def : ATTRIBUTE_ROLE IDENTIFIER SEMI'
-	a = refpolicy.Attribute_Role(p[2])
-	p[0] = a
+    'attribute_role_def : ATTRIBUTE_ROLE IDENTIFIER SEMI'
+    a = refpolicy.Attribute_Role(p[2])
+    p[0] = a
 
 def p_typealias_def(p):
     'typealias_def : TYPEALIAS IDENTIFIER ALIAS names SEMI'