Exemple #1
0
class ByTagKeywordRemover(_KeywordRemover):
    def __init__(self, pattern):
        _KeywordRemover.__init__(self)
        self._pattern = TagPattern(pattern)

    def start_keyword(self, kw):
        if self._pattern.match(kw.tags) and not self._warning_or_error(kw):
            self._clear_content(kw)
class ByTagKeywordRemover(_KeywordRemover):

    def __init__(self, pattern):
        _KeywordRemover.__init__(self)
        self._pattern = TagPattern(pattern)

    def start_keyword(self, kw):
        if self._pattern.match(kw.tags) and not self._contains_warning(kw):
            self._clear_content(kw)
 def __init__(self, pattern):
     _KeywordRemover.__init__(self)
     self._pattern = TagPattern(pattern)
Exemple #4
0
 def __init__(self, pattern):
     _KeywordRemover.__init__(self)
     self._pattern = TagPattern(pattern)