diff options
-rwxr-xr-x | bin/nist/srtool_nist.py | 2 | ||||
-rw-r--r-- | lib/orm/models.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/bin/nist/srtool_nist.py b/bin/nist/srtool_nist.py index 8cc4238a..0952b0cd 100755 --- a/bin/nist/srtool_nist.py +++ b/bin/nist/srtool_nist.py @@ -564,7 +564,7 @@ def fetch_cve(cve_name,cve_source_file): summary['ref_list'] = '' for i, ref in enumerate(CVE_Item['cve']['references']['reference_data']): - summary['ref_list'] += '%s%s;%s;%s' % ('|' if i>0 else '',ref['url'],','.join([tag for tag in ref['tags']]),ref['refsource']) + summary['ref_list'] += '%s%s\t%s\t%s' % ('|' if i>0 else '',ref['url'],','.join([tag for tag in ref['tags']]),ref['refsource']) # Return the results for key in summary.keys(): diff --git a/lib/orm/models.py b/lib/orm/models.py index 70c5e092..99438285 100644 --- a/lib/orm/models.py +++ b/lib/orm/models.py @@ -353,7 +353,7 @@ class CveDetail(): def get_ref_list(self): ref_array = [] for ref in self.ref_list.split('|'): - ref_array.append(ref.split(';')) + ref_array.append(ref.split('\t')) return ref_array # Local full Cve class, based on "Cve" |