summaryrefslogtreecommitdiff
path: root/sleekxmpp/xmlstream/matcher/many.py
blob: 42e92b28de8885aeba310643102d99e84787fdbc (plain)
1
2
3
4
5
6
7
8
9
10
from . import base
from xml.etree import cElementTree

class MatchMany(base.MatcherBase):

	def match(self, xml):
		for m in self._criteria:
			if m.match(xml):
				return True
		return False