From 754ea3d849a0fbccf1a7197555761ffba5bd61e0 Mon Sep 17 00:00:00 2001 From: Jason Ish Date: Mon, 16 Mar 2015 22:33:51 -0600 Subject: [PATCH] prscript - fallback to json is simplejson not available. --- qa/prscript.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/qa/prscript.py b/qa/prscript.py index 7910ef7b5e..142ad6802a 100755 --- a/qa/prscript.py +++ b/qa/prscript.py @@ -15,7 +15,10 @@ # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. import urllib, urllib2, cookielib -import simplejson as json +try: + import simplejson as json +except: + import json import time import argparse import sys