summaryrefslogtreecommitdiffstats
path: root/src/sbin/bcfg2-yum-helper
diff options
context:
space:
mode:
Diffstat (limited to 'src/sbin/bcfg2-yum-helper')
-rwxr-xr-xsrc/sbin/bcfg2-yum-helper5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/sbin/bcfg2-yum-helper b/src/sbin/bcfg2-yum-helper
index 07f9b81b0..859ec36b6 100755
--- a/src/sbin/bcfg2-yum-helper
+++ b/src/sbin/bcfg2-yum-helper
@@ -10,7 +10,10 @@ import sys
import yum
import logging
from optparse import OptionParser
-from Bcfg2.Compat import json
+try:
+ import json
+except ImportError:
+ import simplejson as json
LOGGER = None