SleekXMPP/sleekxmpp/xmlstream/matcher/stanzapath.py
2010-01-15 21:07:28 -08:00

7 lines
156 B
Python

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