[PATCH v2 00/13] Fix some issues found by flake8

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Here is the second revision of this patchset. The changes were:

* I removed the buggy code instead of commenting it, in python/sepolgen.
* I fixed a typo in the description of a patch.


Nicolas Iooss (13):
  libselinux: fix flake8 warnings in SWIG-generated code
  python/sepolgen: do not import twice the modules
  python/sepolgen: return NotImplemented instead of raising it
  python/sepolicy: drop unused CheckPolicyType
  python/sepolicy: use lowercase variable name
  python/sepolgen: fix refpolicy parsing of "permissive"
  python/sepolgen: silence linter warning about has_key
  python/sepolgen: remove buggy code
  python/sepolgen: use self when accessing members in FilesystemUse
  python/sepolicy: fix "procotol" misspelling
  python/sepolicy: use variables which exist in the gui.py
  python/sepolicy: do not import sepolicy.generate.DAEMON twice
  python/sepolicy: do not import types

 libselinux/src/selinuxswig_python.i        |  5 +++--
 python/sepolgen/src/sepolgen/interfaces.py |  7 +------
 python/sepolgen/src/sepolgen/refparser.py  |  4 ++--
 python/sepolgen/src/sepolgen/refpolicy.py  |  6 +++---
 python/sepolgen/src/sepolgen/util.py       |  6 +-----
 python/sepolicy/sepolicy.py                | 12 +-----------
 python/sepolicy/sepolicy/generate.py       |  1 -
 python/sepolicy/sepolicy/gui.py            | 12 ++++++------
 8 files changed, 17 insertions(+), 36 deletions(-)

-- 
2.18.0

_______________________________________________
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.



[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux