diff options
Diffstat (limited to 'src/software/lmi/software/core/ComputerSystem.py')
-rw-r--r-- | src/software/lmi/software/core/ComputerSystem.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/software/lmi/software/core/ComputerSystem.py b/src/software/lmi/software/core/ComputerSystem.py index fe341d7..22b66c7 100644 --- a/src/software/lmi/software/core/ComputerSystem.py +++ b/src/software/lmi/software/core/ComputerSystem.py @@ -69,10 +69,10 @@ 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 system['Name'] != our_system['Name']: + if not util.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']) + "Name of \"%s\" does not match \"%s\"" % ( + prop_name, our_system['Name'])) return True @cmpi_logging.trace_function |