File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -941,7 +941,7 @@ def generate_new_required_phrase_rules(
941
941
if matched_rule :
942
942
actual_rule = current_rules_by_identifier [matched_rule .identifier ]
943
943
if actual_rule .skip_for_required_phrase_generation :
944
- if verbose :
944
+ if TRACE and verbose :
945
945
click .echo (
946
946
f'WARNING: Skipping pre-existing required phrase rule '
947
947
f'"skip_for_required_phrase_generation": { actual_rule .identifier } .'
@@ -974,9 +974,9 @@ def generate_new_required_phrase_rules(
974
974
if modified :
975
975
actual_rule .dump (rules_data_dir )
976
976
if verbose :
977
- click .echo (f'WARNING: Updating existing rule with is_required_phrase flag and more: { actual_rule .identifier } .' )
977
+ click .echo (f'UPDATING existing rule with is_required_phrase flag and more: { actual_rule .identifier } .' )
978
978
else :
979
- if verbose :
979
+ if TRACE and verbose :
980
980
click .echo (f'WARNING: Skipping pre-existing required phrase rule: { actual_rule .identifier } .' )
981
981
else :
982
982
if not update_only :
You can’t perform that action at this time.
0 commit comments