Change-Id: I933835d9f0cec05c5382d563f10595dbecb0e3aa
Issue-ID: VFC-1163
Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
     if ret[0] != 0 and int(ret[2]) != status.HTTP_404_NOT_FOUND and int(ret[2]) != status.HTTP_409_CONFLICT:
         logger.error("Status code is %s, detail is %s.", ret[2], ret[1])
         raise GvnfmDriverException('Failed to Operate vnf.')
-    return (ret[2], json.JSONDecoder().decode(ret[1]), ret[3])
+    return (ret[2], json.JSONDecoder().decode(ret[1]) if ret[1] else {}, ret[3])
 
 
 def do_queryvnf(data, vnfm_id, vnfInstanceId):