1 2 3 4 5 6
from . import base class MatcherId(base.MatcherBase): def match(self, xml): return xml['id'] == self._criteria