We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dd13cc4 commit f346d49Copy full SHA for f346d49
stix/__init__.py
@@ -48,7 +48,7 @@ def _lookup_extension(xsi_type):
48
49
"""
50
import stix.extensions.malware.maec_4_1_malware
51
-
+
52
if xsi_type in _EXTENSION_MAP:
53
return _EXTENSION_MAP[xsi_type]
54
@@ -89,7 +89,7 @@ def lookup_extension(typeinfo, default=None):
89
90
error = "Input %s is missing xml_type attribute. Cannot lookup class."
91
raise ValueError(error % type(typeinfo))
92
93
# Extension binding classes usually (always?) have an `xmlns_prefix`
94
# class attribute.
95
if hasattr(typeinfo, 'xmlns_prefix'):
@@ -134,5 +134,4 @@ def supported_stix_version():
134
supports (i.e., can parse).
135
136
137
- return ('1.1.1', '1.2')
138
+ return ('1.1.1', '1.2', '1.2.1')
0 commit comments