Fix vfc-nslcm customer query bug 39/22439/1
authorying.yunlong <ying.yunlong@zte.com.cn>
Tue, 7 Nov 2017 02:21:02 +0000 (10:21 +0800)
committerying.yunlong <ying.yunlong@zte.com.cn>
Tue, 7 Nov 2017 02:21:02 +0000 (10:21 +0800)
Change-Id: I1137220cd041d1b90cbdb79967b01172642e8309
Issue-ID: VFC-558
Signed-off-by: ying.yunlong <ying.yunlong@zte.com.cn>
lcm/pub/msapi/aai.py

index 73f124b..7c81448 100644 (file)
@@ -56,7 +56,7 @@ def query_customer_aai(global_customer_id):
     if ret[0] != 0:
         logger.error("Status code is %s, detail is %s.", ret[2], ret[1])
         raise NSLCMException("Get customer info exception in AAI")
-    return json.JSONDecoder().decode(ret[1]) if ret[1] else ret[1], ret[2]
+    return json.JSONDecoder().decode(ret[1]) if ret[1] else ret[1]
 
 
 def delete_customer_aai(global_customer_id, resource_version=""):