Quellcode durchsuchen

pylint: disable travis error

Vadim Rutkovsky vor 6 Jahren
Ursprung
Commit
44a27ca8e3
2 geänderte Dateien mit 2 neuen und 0 gelöschten Zeilen
  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 \