From 7dbfad82250883dfe8d5e8a8c3697875d165a910 Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Wed, 14 Nov 2012 17:28:10 -0500 Subject: [PATCH] baby-JSON not supported, let selinux module warn using regular JSON --- library/selinux | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/selinux b/library/selinux index eafa3bf1a6..2584cdc350 100644 --- a/library/selinux +++ b/library/selinux @@ -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