From d5f0c46dd5468870289b8a1afb80a3db778d8a15 Mon Sep 17 00:00:00 2001 From: Emmanuelle Vargas-Gonzalez Date: Wed, 8 May 2019 10:35:53 -0400 Subject: [PATCH] re-organize imports in v20, v21 --- stix2/v20/common.py | 3 ++- stix2/v21/common.py | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/stix2/v20/common.py b/stix2/v20/common.py index afd8270..0a0cabc 100644 --- a/stix2/v20/common.py +++ b/stix2/v20/common.py @@ -6,11 +6,12 @@ import copy from ..base import _STIXBase from ..custom import _custom_marking_builder from ..markings import _MarkingsMixin +from ..markings.utils import check_tlp_marking from ..properties import ( HashesProperty, IDProperty, ListProperty, Property, ReferenceProperty, SelectorProperty, StringProperty, TimestampProperty, TypeProperty, ) -from ..utils import NOW, _get_dict, check_tlp_marking +from ..utils import NOW, _get_dict class ExternalReference(_STIXBase): diff --git a/stix2/v21/common.py b/stix2/v21/common.py index 5700ed4..13d0ff6 100644 --- a/stix2/v21/common.py +++ b/stix2/v21/common.py @@ -6,12 +6,13 @@ import copy from ..base import _STIXBase from ..custom import _custom_marking_builder from ..markings import _MarkingsMixin +from ..markings.utils import check_tlp_marking from ..properties import ( BooleanProperty, DictionaryProperty, HashesProperty, IDProperty, IntegerProperty, ListProperty, Property, ReferenceProperty, SelectorProperty, StringProperty, TimestampProperty, TypeProperty, ) -from ..utils import NOW, _get_dict, check_tlp_marking +from ..utils import NOW, _get_dict class ExternalReference(_STIXBase):