diff mbox series

[1/1] python/sepolgen: always indent with 4 spaces

Message ID 20181215181724.31808-1-nicolas.iooss@m4x.org (mailing list archive)
State Not Applicable
Headers show
Series [1/1] python/sepolgen: always indent with 4 spaces | expand

Commit Message

Nicolas Iooss Dec. 15, 2018, 6:17 p.m. UTC
p_attribute_role_def() used tabs.

Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org>
---
 python/sepolgen/src/sepolgen/refparser.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comments

Petr Lautrbach Dec. 19, 2018, 12:32 p.m. UTC | #1
Nicolas Iooss <nicolas.iooss@m4x.org> writes:

> p_attribute_role_def() used tabs.
>
> Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org>


Merged. Thanks!

> ---
>  python/sepolgen/src/sepolgen/refparser.py | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/python/sepolgen/src/sepolgen/refparser.py b/python/sepolgen/src/sepolgen/refparser.py
> index 97e2342c4693..9fb931828278 100644
> --- a/python/sepolgen/src/sepolgen/refparser.py
> +++ b/python/sepolgen/src/sepolgen/refparser.py
> @@ -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'
diff mbox series

Patch

diff --git a/python/sepolgen/src/sepolgen/refparser.py b/python/sepolgen/src/sepolgen/refparser.py
index 97e2342c4693..9fb931828278 100644
--- a/python/sepolgen/src/sepolgen/refparser.py
+++ b/python/sepolgen/src/sepolgen/refparser.py
@@ -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'