Archived
1
0

updated parse_generic_info to use newresult function

This commit is contained in:
RTB 2014-06-06 19:08:22 +02:00
parent 80770de5c0
commit a77eafe513

View File

@ -114,13 +114,10 @@ class NIST(Source):
requests = []
for key, value in data.iteritems():
result = Result({
'attribute': key,
'value': value,
'source': 'NIST',
'reliability': 'Unknown',
'conditions': ''
})
result = self.newresult(
attribute=key,
value=value
)
requests.append(result)
return requests