From eff51a2bb8ad5f5dbe8c07ab314a70f809073c4b Mon Sep 17 00:00:00 2001 From: Sam Cornwell <14048146+samcornwell@users.noreply.github.com> Date: Sun, 19 Nov 2017 23:00:42 -0500 Subject: [PATCH] fixed pycodestyle failure --- stix2/utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/stix2/utils.py b/stix2/utils.py index 960b89e..541e6d8 100644 --- a/stix2/utils.py +++ b/stix2/utils.py @@ -256,5 +256,6 @@ def get_class_hierarchy_names(obj): names.append(cls.__name__) return names + def get_type_from_id(stix_id): return stix_id.split('--', 1)[0]