fixed pycodestyle failure
parent
78612530ff
commit
eff51a2bb8
|
@ -256,5 +256,6 @@ def get_class_hierarchy_names(obj):
|
||||||
names.append(cls.__name__)
|
names.append(cls.__name__)
|
||||||
return names
|
return names
|
||||||
|
|
||||||
|
|
||||||
def get_type_from_id(stix_id):
|
def get_type_from_id(stix_id):
|
||||||
return stix_id.split('--', 1)[0]
|
return stix_id.split('--', 1)[0]
|
||||||
|
|
Loading…
Reference in New Issue