All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michal Srb <msrb@redhat.com>
To: Jason Zaman <jason@perfinion.com>
Cc: selinux@tycho.nsa.gov
Subject: Re: Python3 Support for Sepolgen module
Date: Fri, 17 Jul 2015 17:29:20 +0200	[thread overview]
Message-ID: <55A91F50.9070307@redhat.com> (raw)
In-Reply-To: <20150717133333.GA18060@meriadoc.Home>



On 07/17/2015 03:33 PM, Jason Zaman wrote:
> I keep hitting this with python3, it seems to be much stricter than py2:
>
> # semanage boolean -l
> Traceback (most recent call last):
>    File "/usr/lib/python-exec/python3.3/semanage", line 27, in <module>
>      import seobject
>    File "/usr/lib64/python3.3/site-packages/seobject.py", line 154
>      context = "%s%s" % (filler, raw)
>                                     ^
> TabError: inconsistent use of tabs and spaces in indentation
>
> I want to fix all the whitespace and other style issues in one big pull
> request. Will it cause big problems for your porting? The upside is that
> it's only a one time issue for the repo.
>
> If there are no objections, I'll send a pull request with the fix
> shortly. It is too big for an inline patch.

Hi Jason,

I am preparing patches for adding python3 support to scripts under 
policycoreutils/. No objections from me, please go ahead and apply your 
changes. I can rebase my patches, if there are any problems.

Regards
Michal


>
> -- Jason
> _______________________________________________
> Selinux mailing list
> Selinux@tycho.nsa.gov
> To unsubscribe, send email to Selinux-leave@tycho.nsa.gov.
> To get help, send an email containing "help" to Selinux-request@tycho.nsa.gov.

      reply	other threads:[~2015-07-17 15:29 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-16 11:48 Robert Kuska
2015-07-16 11:48 ` [PATCH 01/11] sepolgen: Replace deprecated *Equals functions in tests Robert Kuska
2015-07-16 11:48 ` [PATCH 02/11] sepolgen: Use relative imports for modules within sepolgen Robert Kuska
2015-07-16 11:48 ` [PATCH 03/11] sepolgen: Replace func_code calls with __code__ Robert Kuska
2015-07-16 11:48 ` [PATCH 04/11] sepolgen: Use sort function with key parameter Robert Kuska
2015-07-16 11:48 ` [PATCH 05/11] sepolgen: Unicode-objects must be encoded before hashing Robert Kuska
2015-07-16 11:48 ` [PATCH 06/11] sepolgen: Replace usage of __cmp__ with rich comparison Robert Kuska
2015-07-16 21:16   ` Jason Zaman
2015-07-17  6:06     ` Robert Kuska
2015-07-16 11:48 ` [PATCH 07/11] sepolgen: Replace usage of attributes of types module Robert Kuska
2015-07-16 11:48 ` [PATCH 08/11] sepolgen: Replace usage of xrange inside of tests Robert Kuska
2015-07-16 11:48 ` [PATCH 09/11] sepolgen: Apply fixes discovered by 2to3 where needed Robert Kuska
2015-07-16 11:48 ` [PATCH 10/11] sepolgen: Close files after reading/writing in tests Robert Kuska
2015-07-16 11:48 ` [PATCH 11/11] sepolgen: Edit tests so they pass even on Python3 where hash is random Robert Kuska
2015-07-16 11:56 ` Python3 Support for Sepolgen module Robert Kuska
2015-07-16 17:13   ` Stephen Smalley
2015-07-16 22:16   ` Jason Zaman
2015-07-17  6:39     ` Robert Kuska
2015-07-17  6:58       ` Jason Zaman
2015-07-17  7:28         ` Robert Kuska
2015-07-17  7:56           ` Jason Zaman
2015-07-17 13:33             ` Jason Zaman
2015-07-17 15:29               ` Michal Srb [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=55A91F50.9070307@redhat.com \
    --to=msrb@redhat.com \
    --cc=jason@perfinion.com \
    --cc=selinux@tycho.nsa.gov \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.