summaryrefslogtreecommitdiffstats
path: root/src/python
diff options
context:
space:
mode:
authorMichal Minar <miminar@redhat.com>2013-10-31 13:58:46 +0100
committerMichal Minar <miminar@redhat.com>2013-10-31 14:50:36 +0100
commitce4e62c97cfcf9d7a895d5614df4cd9af98a08c5 (patch)
tree6e20edb4589b857a15b760fdc8e953ce07db9f08 /src/python
parentaac4d3a0d1dc878c1a8c11fd55e47613ec7e9050 (diff)
downloadopenlmi-providers-ce4e62c97cfcf9d7a895d5614df4cd9af98a08c5.tar.gz
openlmi-providers-ce4e62c97cfcf9d7a895d5614df4cd9af98a08c5.tar.xz
openlmi-providers-ce4e62c97cfcf9d7a895d5614df4cd9af98a08c5.zip
python: fixed ComputerSystem module
Removed import from software provider. providers package can not depend on any lmi provider package.
Diffstat (limited to 'src/python')
-rw-r--r--src/python/lmi/providers/ComputerSystem.py4
1 files changed, 2 insertions, 2 deletions
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']))