Browse Source

pylint: disable travis error

Vadim Rutkovsky 6 năm trước cách đây
mục cha
commit
44a27ca8e3

+ 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 \