Skip to content

Commit

Permalink
Merge pull request #209 from Honny1/empty-property-of-value
Browse files Browse the repository at this point in the history
Fix empty Value property value
  • Loading branch information
jan-cerny authored Aug 11, 2023
2 parents 1b26699 + c02e447 commit 065c407
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openscap_report/scap_results_parser/scap_results_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def validate(self, xsd_path):

def _get_ref_values(self):
return {
ref_value.get("idref"): ref_value.text
ref_value.get("idref"): ref_value.text if ref_value.text is not None else ""
for ref_value in self.root.findall('.//xccdf:set-value', NAMESPACES)
}

Expand Down

0 comments on commit 065c407

Please sign in to comment.