Exemple #1
0
 def _append_rem_tag_filter(name):
     if hasattr(cfg, name):
         tag_opts = getattr(cfg, name)
         for tag in cfg.constants.supported_tags[name]:
             if tag not in tag_opts:
                 final_tags.append(config.TagRegex(False, regex_fmt % tag))
Exemple #2
0
 def _append_inc_tag_filter(name):
     if hasattr(cfg, name):
         tag_opts = getattr(cfg, name)
         for tag in tag_opts:
             final_tags.append(config.TagRegex(True, regex_fmt % tag))