On Fri, Jul 24, 2015 at 04:13:44PM +0800, Jason Zaman wrote: > On Fri, Jul 24, 2015 at 09:43:42AM +0200, Petr Lautrbach wrote: > > It seems that there's only seobject.py which needs to be ported to > > python 3. I would start with the indent conversion as it's needed anyway > > and then we could provide a patch with python 3 support based on this > > conversion. > > The following changes since commit d19cda0c80524b57464b3bb74dce1297d017b4b1: > > Updated libsepol ChangeLog (2015-07-22 11:02:32 -0400) > > are available in the git repository at: > > https://github.com/perfinion/selinux.git reformat > > for you to fetch changes up to 789d0ebbf9fa448b09917ccd0adff91d72e9f5c1: > > policycoreutils: Fix PEP8 issues (2015-07-24 16:07:13 +0800) > > ---------------------------------------------------------------- > Jason Zaman (1): > policycoreutils: Fix PEP8 issues > > > I re-did the changes on top of the current master and updated that > branch. this is the new commit to pull. > > All the files now follow PEP8 style (ie tabs are 4 spaces) so future > commits should follow that too. After seobject.py is converted, I see a few issues with policycoreutils/sepolicy/sepolicy/*. The easy stuff 2to3 handles, but it looks like there will need to be some changes to the C module, I've got it building by adding some #defines for PyInt_AsLong and the like. I am not that familiar with the C-Python stuff so it might not be done the right way. -- Jason _______________________________________________ Selinux mailing list Selinux@xxxxxxxxxxxxx To unsubscribe, send email to Selinux-leave@xxxxxxxxxxxxx. To get help, send an email containing "help" to Selinux-request@xxxxxxxxxxxxx.