django-DefectDojo
django-DefectDojo copied to clipboard
Fix parser horusec
I'm doing this update because when trying to import a report from Horusec you get the following error:
I noticed that the reports of the new version of Horusec the "line" comes empty where it ends up breaking the parser of the integer:
Ok @Maffooch
@srburton @renatosazup : the comment of @Maffooch is still there, we need a unit test with a report that don't have the line (empty value) to show that the fix works.
@damiencarol added unit test!
@Maffooch check my fix, please?
@damiencarol leaving merge to you if it looks good