From 99af09fce550aaef6991b77f8c83daa59185a0cd Mon Sep 17 00:00:00 2001 From: Willi Ballenthin Date: Fri, 20 Jan 2023 15:24:34 +0100 Subject: [PATCH] main: revert wording change, which was just churn --- capa/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/capa/main.py b/capa/main.py index e682407f..248d51df 100644 --- a/capa/main.py +++ b/capa/main.py @@ -625,7 +625,7 @@ def get_rules(rule_paths: List[str], disable_progress=False) -> RuleSet: # to disable progress completely pbar = lambda s, *args, **kwargs: s - for path, content in pbar(zip(rule_file_paths, rule_contents), desc="parsing ", unit=" rules"): + for path, content in pbar(zip(rule_file_paths, rule_contents), desc="loading ", unit=" rules"): try: rule = capa.rules.Rule.from_yaml(content.decode("utf-8")) except capa.rules.InvalidRule: @@ -636,7 +636,7 @@ def get_rules(rule_paths: List[str], disable_progress=False) -> RuleSet: rule.meta["capa/nursery"] = True rules.append(rule) - logger.debug("parsed rule: '%s' with scope: %s", rule.name, rule.scope) + logger.debug("loaded rule: '%s' with scope: %s", rule.name, rule.scope) ruleset = capa.rules.RuleSet(rules)