selinux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/1] python/sepolgen: always indent with 4 spaces
@ 2018-12-15 18:17 Nicolas Iooss
  2018-12-19 12:32 ` Petr Lautrbach
  0 siblings, 1 reply; 2+ messages in thread
From: Nicolas Iooss @ 2018-12-15 18:17 UTC (permalink / raw)
  To: selinux

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(-)

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'
-- 
2.19.2


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 1/1] python/sepolgen: always indent with 4 spaces
  2018-12-15 18:17 [PATCH 1/1] python/sepolgen: always indent with 4 spaces Nicolas Iooss
@ 2018-12-19 12:32 ` Petr Lautrbach
  0 siblings, 0 replies; 2+ messages in thread
From: Petr Lautrbach @ 2018-12-19 12:32 UTC (permalink / raw)
  To: selinux; +Cc: Nicolas Iooss

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'

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-12-19 12:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-15 18:17 [PATCH 1/1] python/sepolgen: always indent with 4 spaces Nicolas Iooss
2018-12-19 12:32 ` Petr Lautrbach

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).