From: sousaedu Date: Thu, 29 Jul 2021 15:40:16 +0000 (+0200) Subject: Fix bug 1616 - fix import for IM X-Git-Tag: v9.1.4 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=68e84cff11165d7c1eea1a5f8dda582e2f57f2e0;p=osm%2FNBI.git Fix bug 1616 - fix import for IM Change-Id: Ie65ceb116eb7fbb5478e989ca100835334527427 Signed-off-by: sousaedu --- diff --git a/osm_nbi/descriptor_topics.py b/osm_nbi/descriptor_topics.py index df218cc..1ee67fd 100644 --- a/osm_nbi/descriptor_topics.py +++ b/osm_nbi/descriptor_topics.py @@ -28,8 +28,7 @@ from re import fullmatch from osm_nbi.validation import ValidationError, pdu_new_schema, pdu_edit_schema, \ validate_input, 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