def _CheckHiddenProperty(self, prop): # pylint:disable=protected-access value = properties._GetPropertyWithoutCallback(prop, self._properties_file) if value is not None: msg = '[{0}]'.format(prop.name) return check_base.Failure(message=msg)
def _CheckHiddenProperty(self, prop): if str(prop) in self._WHITELIST: return if not self.ignore_hidden_property_whitelist and \ str(prop) in self.whitelist: return # pylint:disable=protected-access value = properties._GetPropertyWithoutCallback(prop, self._properties_file) if value is not None: msg = '[{0}]'.format(prop) return check_base.Failure(message=msg)
def _CheckHiddenProperty(self, prop): if six.text_type(prop) in self._ALLOWLIST: return if (not self.ignore_hidden_property_allowlist and six.text_type(prop) in self.allowlist): return # pylint:disable=protected-access value = properties._GetPropertyWithoutCallback(prop, self._properties_file) if value is not None: msg = '[{0}]'.format(prop) return check_base.Failure(message=msg)