From 5335e8c987e1dde54de22398e5df42fc4db16fcf Mon Sep 17 00:00:00 2001 From: Tim Rozet Date: Thu, 8 Feb 2018 12:13:15 -0500 Subject: [PATCH] Fixes import issues Importing imm was failing: https://build.opnfv.org/ci/job/apex-deploy-virtual-master/1162/console Change-Id: I71466a354091e2926a1e2d8c9eb1b777d6d055c9 Signed-off-by: Tim Rozet --- pyghmi/ipmi/oem/lenovo/config.py | 3 +++ pyghmi/ipmi/oem/lenovo/imm.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/pyghmi/ipmi/oem/lenovo/config.py b/pyghmi/ipmi/oem/lenovo/config.py index 871cc0fc..f453b47d 100644 --- a/pyghmi/ipmi/oem/lenovo/config.py +++ b/pyghmi/ipmi/oem/lenovo/config.py @@ -24,6 +24,9 @@ import EfiDecompressor import struct import random import pyghmi.exceptions as pygexc + +from pyghmi.ipmi.oem.lenovo import EfiDecompressor + try: from lxml import etree import EfiCompressor diff --git a/pyghmi/ipmi/oem/lenovo/imm.py b/pyghmi/ipmi/oem/lenovo/imm.py index 6f4b767a..35144933 100644 --- a/pyghmi/ipmi/oem/lenovo/imm.py +++ b/pyghmi/ipmi/oem/lenovo/imm.py @@ -15,12 +15,12 @@ # limitations under the License. from datetime import datetime -import config import errno import json import os.path import pyghmi.constants as pygconst import pyghmi.exceptions as pygexc +import pyghmi.ipmi.oem.lenovo.config as config import pyghmi.ipmi.oem.lenovo.energy as energy import pyghmi.ipmi.private.session as ipmisession import pyghmi.ipmi.private.util as util