From ce4e62c97cfcf9d7a895d5614df4cd9af98a08c5 Mon Sep 17 00:00:00 2001 From: Michal Minar Date: Thu, 31 Oct 2013 13:58:46 +0100 Subject: python: fixed ComputerSystem module Removed import from software provider. providers package can not depend on any lmi provider package. --- src/python/lmi/providers/ComputerSystem.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/python/lmi') diff --git a/src/python/lmi/providers/ComputerSystem.py b/src/python/lmi/providers/ComputerSystem.py index 0b347f8..b516453 100644 --- a/src/python/lmi/providers/ComputerSystem.py +++ b/src/python/lmi/providers/ComputerSystem.py @@ -24,7 +24,7 @@ import pywbem from lmi.base.BaseConfiguration import BaseConfiguration from lmi.providers import cmpi_logging -from lmi.software import util +from lmi.providers import is_this_system class UninitializedError(Exception): """ @@ -122,7 +122,7 @@ def check_path(env, system, prop_name): raise pywbem.CIMError(pywbem.CIM_ERR_NOT_FOUND, "CreationClassName of \"%s\" must be a sublass of %s" % ( prop_name, our_system.classname)) - if not util.is_this_system(system['Name']): + if not is_this_system(system['Name']): raise pywbem.CIMError(pywbem.CIM_ERR_NOT_FOUND, "Name of \"%s\" does not match \"%s\"" % ( prop_name, our_system['Name'])) -- cgit