Using simplejson instead of json 71/50771/1
authorHarry Huang <huangxiangyu5@huawei.com>
Thu, 18 Jan 2018 12:11:55 +0000 (20:11 +0800)
committerHarry Huang <huangxiangyu5@huawei.com>
Thu, 18 Jan 2018 12:11:55 +0000 (20:11 +0800)
JIRA: COMPASS-574

As Ansible upgrade patch will bring in json
module issue. Using simplejson module to
avoid module confusion.

Change-Id: I752b126e37753187fd74daa4fc6fe202f71eec24
Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
deploy/status_callback.py

index f0615f3..6169b87 100644 (file)
@@ -8,7 +8,7 @@
 ##############################################################################
 
 import httplib
-import json
+import simplejson as json
 import sys  # noqa:F401
 
 from ansible.plugins.callback import CallbackBase