added comments

pull/422/head
Jesse Hedden 2020-08-09 20:41:52 -07:00
parent 0b576faa68
commit 91417d390b
1 changed files with 1 additions and 0 deletions

View File

@ -85,6 +85,7 @@ class TruSTARParser:
redundancy.
:param: <OrderedDict> Enrichment data.
:return: <list> List of tags.
"""
if enrichment_report and enrichment_report.get('tags'):
return [tag.get('name') for tag in enrichment_report.pop('tags')]