SleekXMPP/sleekxmpp/xmlstream/matcher/stanzapath.py

8 lines
156 B
Python
Raw Normal View History

from . import base
from xml.etree import cElementTree
class StanzaPath(base.MatcherBase):
def match(self, stanza):
return stanza.match(self._criteria)