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

pull/2208/merge
Michael DeHaan 12 years ago
parent f47ecf0fce
commit 7dbfad8225

@ -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