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})
|
return json.dumps({"success": 0})
|
||||||
|
|
||||||
pkg = stix.load_stix(package)
|
pkg = stix.load_stix(package)
|
||||||
|
|
||||||
for attrib in pkg.attributes:
|
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
|
return r
|
||||||
|
|
||||||
|
|
||||||
def introspection():
|
def introspection():
|
||||||
modulesetup = {}
|
modulesetup = {}
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in New Issue