mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-25 16:06:43 +00:00
baby-JSON not supported, let selinux module warn using regular JSON
This commit is contained in:
@@ -59,7 +59,7 @@ import sys
|
||||
try:
|
||||
import selinux
|
||||
except ImportError:
|
||||
print "failed=True msg='python-selinux required for this module'"
|
||||
print json.dumps(failed=True, msg='python-selinux required for this module')
|
||||
sys.exit(1)
|
||||
|
||||
# getter subroutines
|
||||
|
||||
Reference in New Issue
Block a user