From def09316417094e4c0264cc7feb533d50055ffb5 Mon Sep 17 00:00:00 2001 From: Peter Mosmans Date: Fri, 24 Mar 2017 20:43:33 +0800 Subject: [PATCH] Implemented correct conversion for non-findings, closes #26 --- chatops/python/gitlab-to-pentext.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/chatops/python/gitlab-to-pentext.py b/chatops/python/gitlab-to-pentext.py index b5eff5a..26ef11c 100644 --- a/chatops/python/gitlab-to-pentext.py +++ b/chatops/python/gitlab-to-pentext.py @@ -130,6 +130,13 @@ class NonFinding(BaseItem): def __init__(self): BaseItem.__init__(self, 'non-finding') + def __str__(self): + """ + Return a XML version of the class + """ + self.root_open = '