SELinux Archive on lore.kernel.org
 help / 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	[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, back to index

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

SELinux Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/selinux/0 selinux/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 selinux selinux/ https://lore.kernel.org/selinux \
		selinux@vger.kernel.org selinux@archiver.kernel.org
	public-inbox-index selinux


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.selinux


AGPL code for this site: git clone https://public-inbox.org/ public-inbox