From 83abf78af54ff9da947755b963fbd6f9f5fa9860 Mon Sep 17 00:00:00 2001 From: Michael Chisholm Date: Thu, 28 Jan 2021 19:21:57 -0500 Subject: [PATCH] Remove old compatibility code regarding importing the old stix2.core module. --- stix2/utils.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/stix2/utils.py b/stix2/utils.py index fa3b25d..b7351a0 100644 --- a/stix2/utils.py +++ b/stix2/utils.py @@ -10,11 +10,7 @@ import pytz import six import stix2.version - -try: - import stix2.registry as mappings -except ImportError: - import stix2.core as mappings +import stix2.registry as mappings # Sentinel value for properties that should be set to the current time.