selinux/python
James Carter f6dc6acfa0 python: Use isinstance() instead of type()
CI testing fails while running flake8 on python scripts with the
message "./python/semanage/seobject.py:250:16: E721 do not compare
types, for exact checks use `is` / `is not`, for instance checks use
`isinstance()`"

Use "isinstance(args, str)" instead of "type(args) == str"

Signed-off-by: James Carter <jwcart2@gmail.com>
2023-08-08 13:00:12 +02:00
..
audit2allow libselinux,policycoreutils,python,semodule-utils: de-brand SELinux 2023-08-04 13:56:44 -04:00
chcat python: improve format strings for proper localization 2023-07-12 12:57:31 -04:00
po python: update python.pot 2023-07-12 12:57:42 -04:00
semanage python: Use isinstance() instead of type() 2023-08-08 13:00:12 +02:00
sepolgen Update VERSIONs to 3.5 for release. 2023-02-23 05:16:11 -08:00
sepolicy python/sepolicy: Fix get_os_version except clause 2023-06-30 14:27:34 +02:00
LICENSE docs: provide a top level LICENSE file 2022-10-05 08:20:38 -04:00
Makefile Split po/ translation files into the relevant sub-directories 2022-04-06 10:52:41 +02:00
VERSION Update VERSIONs to 3.5 for release. 2023-02-23 05:16:11 -08:00