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