Skip to content
Snippets Groups Projects
Commit a690f0e9 authored by Gioacchino Vino's avatar Gioacchino Vino
Browse files

New oids classification

parent 8f1c44a5
No related branches found
No related tags found
1 merge request!151Debug paas ci
......@@ -767,8 +767,8 @@ class ReportManager():
# Overwrite the detected oids to the host oids
self.os_oids[self.os_name] = []
for _ , data in self.oids.items():
self.os_oids[self.os_name] += data[self.OID_ACCEPTED] + \
data[self.OID_NEW]
self.os_oids[self.os_name] += [a.oid for a in data[self.OID_ACCEPTED]]
self.os_oids[self.os_name] += [n.oid for n in data[self.OID_NEW]]
with open(self.os_file, 'w') as file:
yaml.dump(self.os_oids, file)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment