diff --git a/cve_lister/cve_vendor_search.py b/cve_lister/cve_vendor_search.py index ec961f3..6c7f4e7 100755 --- a/cve_lister/cve_vendor_search.py +++ b/cve_lister/cve_vendor_search.py @@ -57,9 +57,9 @@ def lookup(self, cve_number): cve = Cve_search() +# make this a list instead returning just results from the function will only +# return one result def cve_summary_search(): for cve_num in cve.list_of_cve(): - results = cve.lookup(cve_num) + "\n" + results = cve.lookup(cve_num) return results - -print cve_summary_search()