Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]>
- Loading branch information