selinux/policycoreutils/sandbox
Jason Zaman 789d0ebbf9 policycoreutils: Fix PEP8 issues
When trying to get policycoreutils working in python3, I kept running
into TabErrors:

    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

Python3 is a lot stricter than python2 regarding whitespace and looks like
previous commits mixed the two.  When fixing this, I took the chance to fix
other PEP8 style issues at the same time.

This commit was made using:
$ file $(find . -type f) | grep -i python | sed 's/:.*$//' > pyfiles
$ autopep8 --in-place --ignore=E501,E265 $(cat pyfiles)

The ignore E501 is long lines since there are many that would be wrapped
otherwise, and E265 is block comments that start with ## instead of just #.

Signed-off-by: Jason Zaman <jason@perfinion.com>
2015-07-24 16:07:13 +08:00
..
.gitignore Repo: update .gitignore 2011-08-02 13:31:51 -04:00
Makefile Use $(PYTHON) instead of "python" in every Makefile 2014-10-02 09:56:49 -04:00
sandbox policycoreutils: Fix PEP8 issues 2015-07-24 16:07:13 +08:00
sandbox.5 policycoreutils: sandbox: move sandbox.conf.5 to just sandbox.5 2011-12-05 16:10:35 -05:00
sandbox.8 Laurent Bigonville patch to fix various minor manpage issues and correct section numbering. 2013-10-24 13:58:37 -04:00
sandbox.conf policycoreutils: sandbox: Removing sandbox init script, should no longer be necessary 2012-03-28 08:39:08 -04:00
sandbox.config Author: Daniel J Walsh 2010-06-10 16:35:55 -04:00
sandbox.init policycoreutils: sandbox: Add back in . functions to sandbox.init script 2011-12-21 12:25:28 -05:00
sandboxX.sh Xephry now supports resizable flag 2013-10-24 13:58:39 -04:00
seunshare.8 Remove handling of cgroups from sandbox 2014-05-12 14:14:42 -04:00
seunshare.c Fix gcc -Wstrict-prototypes warnings 2014-10-02 09:56:38 -04:00
start policycoreutils: Fix PEP8 issues 2015-07-24 16:07:13 +08:00
test_sandbox.py policycoreutils: Fix PEP8 issues 2015-07-24 16:07:13 +08:00