selinux/python
Nicolas Iooss 33d7a761e5 python/sepolgen: close /etc/selinux/sepolgen.conf after parsing it
sepolgen testsuite reports the following warning on a system with
/etc/selinux/sepolgen.conf:

    .../src/./sepolgen/defaults.py:35: ResourceWarning: unclosed file
    <_io.TextIOWrapper name='/etc/selinux/sepolgen.conf' mode='r'
    encoding='UTF-8'>

Fix this by properly closing the file in PathChooser.__init__().

Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org>
2019-01-07 12:50:45 +01:00
..
audit2allow python: add xperms support to audit2allow 2018-06-16 10:36:14 +02:00
chcat python/chcat: fix removing categories on users with Fedora default setup 2018-12-11 12:39:09 +01:00
semanage python/semanage: Load a store policy and set the store SELinux policy root 2019-01-05 14:49:46 +01:00
sepolgen python/sepolgen: close /etc/selinux/sepolgen.conf after parsing it 2019-01-07 12:50:45 +01:00
sepolicy python/sepolicy: Make policy files sorting more robust 2019-01-05 14:50:16 +01: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