def _rule(ruleset_name): ruleset = rulesets.Ruleset( ruleset_name, ruleset_matcher.get_tag_to_group_map(config.tags)) return rulesets.Rule(hosts_and_folders.Folder.root_folder(), ruleset)
def _rule(ruleset_name): ruleset = rulesets.Ruleset(ruleset_name) return rulesets.Rule(hosts_and_folders.Folder.root_folder(), ruleset)