Fix empty version range crash
Fixes https://github.com/nexB/vulnerablecode/issues/1214 . I'm not familiar with either this project nor python, so I'm unsure if this is a good solution. However, it solved the issue I described in the linked ticket. Feedback welcome!
@janniclas thanks for this PR, if you can add some tests to highlight the issues which are fixed by this PR it would be really helpful.
Sure, I'll look into it soonish
@TG1999 I added a test case based upon the original input I got when running the vulnerabilities.importers.apache_httpd.ApacheHTTPDImporter .
@janniclas sorry for late reply, please resolve the merge conflicts : )
@janniclas I am closing this in favor of https://github.com/aboutcode-org/vulnerablecode/pull/1598 with a fixed history and your commits squashed. Thanks!