From f445aeff90fb3038c063def87e888e50b4e107a4 Mon Sep 17 00:00:00 2001 From: fujinhua Date: Fri, 29 Sep 2017 09:19:54 +0800 Subject: [PATCH] Fix vnflcm msapi aai pep8 error Change-Id: Iedacc7c58f767d6f04052ff9a1b473715f693aec Issue-Id: VFC-475 Signed-off-by: fujinhua --- lcm/lcm/pub/msapi/aai.py | 14 +++++++------- lcm/lcm/pub/utils/values.py | 1 + 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 -- 2.16.6