Actions
Bug #23085
openrudder-compliance python script does not support techniques with blocks when some of the methods inside report an error
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
No
Description
The script fails with the following:
Traceback (most recent call last): File "./rudder-compliance", line 301, in <module> rules_compliance(compliance_in, args['rules'], csv_file_string) File "./rudder-compliance", line 213, in rules_compliance if get_non_compliance_rule(rule_compliance, non_compliances): File "./rudder-compliance", line 66, in get_non_compliance_rule extract_non_compliance_by_directive(rule_name, directive_compliance, non_compliances) File "./rudder-compliance", line 87, in extract_non_compliance_by_directive for nodes in components_compliance["nodes"]: KeyError: 'nodes'
To reproduce import the attached technique.
Files
Actions