Home
last modified time | relevance | path

Searched refs:matchAgainst (Results 1 – 1 of 1) sorted by relevance

/external/autotest/site_utils/rpm_control_system/
DBeautifulSoup.py931 for attr, matchAgainst in self.attrs.items():
940 if not self._matches(attrValue, matchAgainst):
977 def _matches(self, markup, matchAgainst): argument
980 if matchAgainst is True:
982 elif callable(matchAgainst):
983 result = matchAgainst(markup)
992 if hasattr(matchAgainst, 'match'):
994 result = markup and matchAgainst.search(markup)
995 elif hasattr(matchAgainst, '__iter__'): # list-like
996 result = markup in matchAgainst
[all …]