selinux/policycoreutils/gui
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
..
Makefile Mv some of the setup we were doing in the policycoreutils.spec file into the main code 2013-10-24 13:58:40 -04:00
booleansPage.py policycoreutils: Fix PEP8 issues 2015-07-24 16:07:13 +08:00
domainsPage.py policycoreutils: Fix PEP8 issues 2015-07-24 16:07:13 +08:00
fcontextPage.py policycoreutils: Fix PEP8 issues 2015-07-24 16:07:13 +08:00
html_util.py policycoreutils: Fix PEP8 issues 2015-07-24 16:07:13 +08:00
loginsPage.py policycoreutils: Fix PEP8 issues 2015-07-24 16:07:13 +08:00
mappingsPage.py policycoreutils: Fix PEP8 issues 2015-07-24 16:07:13 +08:00
modulesPage.py policycoreutils: Fix PEP8 issues 2015-07-24 16:07:13 +08:00
org.selinux.config.policy Remove test_booleans_l from test, it is bogus 2013-10-24 15:10:55 -04:00
polgen.glade policycoreutils: Rebuild polgen.glade with glade-3 2013-02-01 12:12:37 -05:00
polgengui.py policycoreutils: Fix PEP8 issues 2015-07-24 16:07:13 +08:00
portsPage.py policycoreutils: Fix PEP8 issues 2015-07-24 16:07:13 +08:00
selinux-polgengui.8 Minor manpages improvements 2013-11-06 09:36:33 -05:00
selinux-polgengui.desktop Fix up desktop files to match current standards 2013-11-08 15:50:59 -05:00
semanagePage.py policycoreutils: Fix PEP8 issues 2015-07-24 16:07:13 +08:00
sepolgen policycoreutils: gui: sepolgen: use sepolicy to generate 2013-02-05 20:14:38 -05:00
statusPage.py policycoreutils: Fix PEP8 issues 2015-07-24 16:07:13 +08:00
system-config-selinux Mv some of the setup we were doing in the policycoreutils.spec file into the main code 2013-10-24 13:58:40 -04:00
system-config-selinux.8 Minor manpages improvements 2013-11-06 09:36:33 -05:00
system-config-selinux.desktop Fix up desktop files to match current standards 2013-11-08 15:50:59 -05:00
system-config-selinux.glade
system-config-selinux.png Mv some of the setup we were doing in the policycoreutils.spec file into the main code 2013-10-24 13:58:40 -04:00
system-config-selinux.py policycoreutils: Fix PEP8 issues 2015-07-24 16:07:13 +08:00
usersPage.py policycoreutils: Fix PEP8 issues 2015-07-24 16:07:13 +08:00