selinux/python
Nicolas Iooss a0c167ed22
python/sepolgen: return NotImplemented instead of raising it
sepolgen uses "return NotImplemented" (in access.py and matching.py) in
order to make Python's sorting function use an other call to compare
objects. For this to work, "NotImplemented" needs to be returned, not
raised like _compare's default implementation does.

This issue has been found using flake8. This Python linter reported:

    python/sepolgen/src/sepolgen/util.py:128:9: F901 'raise
    NotImplemented' should be 'raise NotImplementedError'

Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org>
2018-08-15 22:12:08 +02:00
..
audit2allow python: add xperms support to audit2allow 2018-06-16 10:36:14 +02:00
chcat python: build: follow standard semantics for DESTDIR and PREFIX 2018-02-14 20:02:01 +01:00
semanage python/semanage: fix Python syntax of catching several exceptions 2018-08-06 22:06:48 +02:00
sepolgen python/sepolgen: return NotImplemented instead of raising it 2018-08-15 22:12:08 +02:00
sepolicy Fix minor typos 2018-06-30 20:28:25 +02:00
COPYING Add COPYING files for new subdirs. 2016-11-16 11:19:51 -05:00
Makefile Move policycoreutils/{sepolicy,audit2allow,semanage,scripts/chcat*} and sepolgen to python. 2016-11-16 11:19:50 -05:00
VERSION Update VERSIONs to 2.8 for release. 2018-05-24 14:21:09 -04:00