소스 검색

Merge pull request #9456 from vrutkovs/travis-lint-R0916

pylint: disable travis error
Scott Dodson 6 년 전
부모
커밋
5f79e1cb1a
2개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      roles/lib_openshift/library/oc_obj.py
  2. 1 0
      roles/lib_openshift/src/class/oc_obj.py

+ 1 - 0
roles/lib_openshift/library/oc_obj.py

@@ -1625,6 +1625,7 @@ class OCObject(OpenShiftCLI):
         ########
         if state == 'absent':
             # verify it's not in our results
+            # pylint: disable=too-many-boolean-expressions
             if (params['name'] is not None or params['selector'] is not None) and \
                (len(api_rval['results']) == 0 or \
                (not api_rval['results'][0]) or \

+ 1 - 0
roles/lib_openshift/src/class/oc_obj.py

@@ -135,6 +135,7 @@ class OCObject(OpenShiftCLI):
         ########
         if state == 'absent':
             # verify it's not in our results
+            # pylint: disable=too-many-boolean-expressions
             if (params['name'] is not None or params['selector'] is not None) and \
                (len(api_rval['results']) == 0 or \
                (not api_rval['results'][0]) or \