From 317b9fd447cba7e8e5af3a9fe9cc9a41cd297e11 Mon Sep 17 00:00:00 2001 From: sousaedu Date: Thu, 29 Jul 2021 17:40:16 +0200 Subject: [PATCH] Fix bug 1592 - fix import for IM Change-Id: Ie65ceb116eb7fbb5478e989ca100835334527427 Signed-off-by: sousaedu --- osm_nbi/descriptor_topics.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/osm_nbi/descriptor_topics.py b/osm_nbi/descriptor_topics.py index 6bf437d..8efde1e 100644 --- a/osm_nbi/descriptor_topics.py +++ b/osm_nbi/descriptor_topics.py @@ -34,9 +34,7 @@ from osm_nbi.validation import ( vnfpkgop_new_schema, ) from osm_nbi.base_topic import BaseTopic, EngineException, get_iterable - -etsi_nfv_vnfd = importlib.import_module("osm_im.etsi-nfv-vnfd") -etsi_nfv_nsd = importlib.import_module("osm_im.etsi-nfv-nsd") +from osm_im import etsi_nfv_vnfd, etsi_nfv_nsd from osm_im.nst import nst as nst_im from pyangbind.lib.serialise import pybindJSONDecoder import pyangbind.lib.pybindJSON as pybindJSON -- 2.25.1