libsemanage: make pywrap-test.py compatible with Python 3

This program can be useful in order to test the Python API of
libsemanage. Make it usable in Python 3 using 2to3 and some tweaks.

While at it, fix warnings reported by flake8 linter.

Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org>
This commit is contained in:
Nicolas Iooss 2018-08-18 12:04:42 +02:00
parent fea7eecee4
commit 92024b1544
No known key found for this signature in database
GPG key ID: C191415F340DAAA0

File diff suppressed because it is too large Load diff