mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
baby-JSON not supported, let selinux module warn using regular JSON
This commit is contained in:
parent
f47ecf0fce
commit
7dbfad8225
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue