Commit 7dbfad82 by Michael DeHaan

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

parent f47ecf0f
...@@ -59,7 +59,7 @@ import sys ...@@ -59,7 +59,7 @@ import sys
try: try:
import selinux import selinux
except ImportError: 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) sys.exit(1)
# getter subroutines # getter subroutines
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment