From: fujinhua Date: Fri, 29 Sep 2017 01:19:54 +0000 (+0800) Subject: Fix vnflcm msapi aai pep8 error X-Git-Tag: v1.0.0~9 X-Git-Url: https://gerrit.onap.org/r/gitweb?p=vfc%2Fgvnfm%2Fvnflcm.git;a=commitdiff_plain;h=f445aeff90fb3038c063def87e888e50b4e107a4 Fix vnflcm msapi aai pep8 error Change-Id: Iedacc7c58f767d6f04052ff9a1b473715f693aec Issue-Id: VFC-475 Signed-off-by: fujinhua --- 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