From cb61f4e2177b01faa407ec8f6980b9648d08fec7 Mon Sep 17 00:00:00 2001 From: Alexandre Dulaunoy Date: Thu, 7 Feb 2013 10:58:23 +0100 Subject: [PATCH] remove json_util dependency --- bin/dcu-fetch.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bin/dcu-fetch.py b/bin/dcu-fetch.py index a907386..692f663 100644 --- a/bin/dcu-fetch.py +++ b/bin/dcu-fetch.py @@ -26,7 +26,6 @@ from azure.storage import BlobService from optparse import OptionParser import sys import json -from bson import json_util debug = False header = True @@ -90,7 +89,7 @@ for container in blob_service.list_containers(): for x in ds.strip().split("\t")[:27]: d[headers[i]] = x i=i+1 - print (json.dumps(d, sort_keys=True, default=json_util.default)) + print (json.dumps(d, sort_keys=True)) if options.clear: if debug: sys.stderr.write("Deleting blob: "+str(b.name)+"\n") blob_service.delete_blob(c, b.name)