Skip to content

Commit f346d49

Browse files
committed
Add 1.2.1 to supported versions
1 parent dd13cc4 commit f346d49

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

stix/__init__.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def _lookup_extension(xsi_type):
4848
4949
"""
5050
import stix.extensions.malware.maec_4_1_malware
51-
51+
5252
if xsi_type in _EXTENSION_MAP:
5353
return _EXTENSION_MAP[xsi_type]
5454

@@ -89,7 +89,7 @@ def lookup_extension(typeinfo, default=None):
8989

9090
error = "Input %s is missing xml_type attribute. Cannot lookup class."
9191
raise ValueError(error % type(typeinfo))
92-
92+
9393
# Extension binding classes usually (always?) have an `xmlns_prefix`
9494
# class attribute.
9595
if hasattr(typeinfo, 'xmlns_prefix'):
@@ -134,5 +134,4 @@ def supported_stix_version():
134134
supports (i.e., can parse).
135135
136136
"""
137-
return ('1.1.1', '1.2')
138-
137+
return ('1.1.1', '1.2', '1.2.1')

0 commit comments

Comments
 (0)