summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfujinhua <fu.jinhua@zte.com.cn>2017-09-29 09:19:54 +0800
committerfujinhua <fu.jinhua@zte.com.cn>2017-09-29 09:19:54 +0800
commitf445aeff90fb3038c063def87e888e50b4e107a4 (patch)
tree07f54ed39c11790ca263f480eb56172849790822
parent6761e83a3352dcfc166949cf30365573571c0f1b (diff)
Fix vnflcm msapi aai pep8 error
Change-Id: Iedacc7c58f767d6f04052ff9a1b473715f693aec Issue-Id: VFC-475 Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
-rw-r--r--lcm/lcm/pub/msapi/aai.py14
-rw-r--r--lcm/lcm/pub/utils/values.py1
2 files changed, 8 insertions, 7 deletions
diff --git a/lcm/lcm/pub/msapi/aai.py b/lcm/lcm/pub/msapi/aai.py
index 150303c3..77127e0c 100644
--- a/lcm/lcm/pub/msapi/aai.py
+++ b/lcm/lcm/pub/msapi/aai.py
@@ -29,13 +29,13 @@ def call_aai(resource, method, data=''):
'X-TransactionId': str(uuid.uuid1())
}
return restcall.call_req(AAI_BASE_URL,
- AAI_USER,
- AAI_PASSWORD,
- restcall.rest_no_auth,
- resource,
- method,
- data,
- additional_headers)
+ AAI_USER,
+ AAI_PASSWORD,
+ restcall.rest_no_auth,
+ resource,
+ method,
+ data,
+ additional_headers)
def create_customer_aai(global_customer_id, data):
diff --git a/lcm/lcm/pub/utils/values.py b/lcm/lcm/pub/utils/values.py
index b5c5e90c..7bf33842 100644
--- a/lcm/lcm/pub/utils/values.py
+++ b/lcm/lcm/pub/utils/values.py
@@ -12,6 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
+
def ignore_case_get(args, key, def_val=""):
if not key:
return def_val