SELinux Security Module development
 help / color / mirror / Atom feed
From: Petr Lautrbach <plautrba@redhat.com>
To: Vit Mojzis <vmojzis@redhat.com>,
	selinux@vger.kernel.org, Nicolas Iooss <nicolas.iooss@m4x.org>
Subject: Re: [PATCH 2/2] python/semanage: Sort imports in alphabetical order
Date: Wed, 13 Jan 2021 23:50:14 +0100	[thread overview]
Message-ID: <87mtxca1uh.fsf@redhat.com> (raw)
In-Reply-To: <20210106090007.176771-1-vmojzis@redhat.com>

Vit Mojzis <vmojzis@redhat.com> writes:

> Signed-off-by: Vit Mojzis <vmojzis@redhat.com>

Acked-by: Petr Lautrbach <plautrba@redhat.com>

Both merged, thanks!


> ---
>  python/semanage/semanage | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/python/semanage/semanage b/python/semanage/semanage
> index ce15983b..125271df 100644
> --- a/python/semanage/semanage
> +++ b/python/semanage/semanage
> @@ -23,11 +23,13 @@
>  #
>  #
>  
> -import traceback
>  import argparse
> +import os
> +import re
>  import seobject
>  import sys
> -import os
> +import traceback
> +
>  PROGNAME = "policycoreutils"
>  try:
>      import gettext
> @@ -798,8 +800,6 @@ def setupExportParser(subparsers):
>      exportParser.add_argument('-f', '--output_file', dest='output_file', action=SetExportFile, help=_('Output file'))
>      exportParser.set_defaults(func=handleExport)
>  
> -import re
> -
>  
>  def mkargv(line):
>      dquote = "\""
> -- 
> 2.29.2


      reply	other threads:[~2021-01-14  1:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-05 16:00 [PATCH] python/semanage: empty stdout before exiting on BrokenPipeError Vit Mojzis
2021-01-06  7:37 ` Nicolas Iooss
2021-01-06  9:00   ` [PATCH 2/2] python/semanage: Sort imports in alphabetical order Vit Mojzis
2021-01-13 22:50     ` Petr Lautrbach [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mtxca1uh.fsf@redhat.com \
    --to=plautrba@redhat.com \
    --cc=nicolas.iooss@m4x.org \
    --cc=selinux@vger.kernel.org \
    --cc=vmojzis@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox