baby-JSON not supported, let selinux module warn using regular JSON

reviewable/pr18780/r1
Michael DeHaan 13 years ago
parent 980949baba
commit ff5cf99bb2

@ -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…
Cancel
Save