From cfc8b1c561dc385dfaec07ff2c2f82ad5ea29ddd Mon Sep 17 00:00:00 2001 From: mkosmach Date: Fri, 25 Apr 2014 02:44:51 -0700 Subject: [PATCH] add simplejson as alternative to json --- packaging/apt_rpm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packaging/apt_rpm b/packaging/apt_rpm index 0eca3132224..a85c528a239 100755 --- a/packaging/apt_rpm +++ b/packaging/apt_rpm @@ -60,7 +60,11 @@ EXAMPLES = ''' ''' -import json +try: + import json +except ImportError: + import simplejson as json + import shlex import os import sys