diff --git a/pheme/transformation/scanreport/gvmd.py b/pheme/transformation/scanreport/gvmd.py index 4f1f2c6f..a5bb35a9 100644 --- a/pheme/transformation/scanreport/gvmd.py +++ b/pheme/transformation/scanreport/gvmd.py @@ -249,7 +249,7 @@ def per_result(result): def per_note(note): result_notes = new_host_result.get("notes", []) excerpt = "0" - if "excerpt" in note["text"] : + if "excerpt" in note["text"]: excerpt = note["text"]["excerpt"] new_note = { "text": note["text"]["text"], @@ -269,7 +269,7 @@ def per_override(override): severity_description = "Any positive severity" excerpt = "0" - if "excerpt" in override["text"] : + if "excerpt" in override["text"]: excerpt = override["text"]["excerpt"] new_override = { "text": override["text"]["text"],