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

pull/4420/head
Michael DeHaan 2012-11-14 17:28:10 -05:00
parent f47ecf0fce
commit 7dbfad8225
1 changed files with 1 additions and 1 deletions

View File

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