Repository :
http://git.fedorahosted.org/cgit/cura-tools.git
On branch : master
---------------------------------------------------------------
commit 94b04c47eabacdbb8383934faf8b913553a1f5fa
Author: Michal Minar <miminar(a)redhat.com>
Date: Tue Aug 20 12:52:39 2013 +0200
ditched host parameter in CIMInstanceName creation
hostname property of LMIBaseClient may contain schema, port and possibly
other components of URL, that can not be part of hostname string. This
rendered new_instance_name() method unusable for non-trivial connections.
---------------------------------------------------------------
cli/lmi/shell/LMIClass.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/cli/lmi/shell/LMIClass.py b/cli/lmi/shell/LMIClass.py
index 9267fc9..f03ce85 100644
--- a/cli/lmi/shell/LMIClass.py
+++ b/cli/lmi/shell/LMIClass.py
@@ -163,7 +163,7 @@ class LMIClass(LMIWrapperBaseObject):
corresponding values
"""
cim_inst_name = pywbem.CIMInstanceName(self.classname, keybindings,
- self._conn._client.hostname, self.namespace)
+ namespace=self.namespace)
return lmi_wrap_cim_instance_name(self._conn, cim_inst_name)
# NOTE: usage with Key=something, Value=something is deprecated