mirror of https://github.com/MISP/misp-modules
Make PEP8 happy
parent
7a9774bff7
commit
329586768b
|
@ -33,12 +33,12 @@ def handler(q=False):
|
|||
return json.dumps({"success": 0})
|
||||
|
||||
pkg = stix.load_stix(package)
|
||||
|
||||
for attrib in pkg.attributes:
|
||||
r["results"].append({ "values" : [attrib.value] , "types": [attrib.type], "categories": [attrib.category]})
|
||||
r["results"].append({"values": [attrib.value], "types": [attrib.type], "categories": [attrib.category]})
|
||||
|
||||
return r
|
||||
|
||||
|
||||
def introspection():
|
||||
modulesetup = {}
|
||||
try:
|
||||
|
|
Loading…
Reference in New Issue