Repository :
http://git.fedorahosted.org/cgit/cura-tools.git
On branch : master
---------------------------------------------------------------
commit 8c2401156d0becd7bed56ad3234d664979b29917
Author: Peter Hatina <phatina(a)redhat.com>
Date: Fri Jul 19 12:43:10 2013 +0200
drop unused LmiReturnValue::instance_classname property
---------------------------------------------------------------
cli-tools/lmi/lmi_client_base.py | 8 --------
cli-tools/lmi/lmi_client_shell.py | 2 --
2 files changed, 0 insertions(+), 10 deletions(-)
diff --git a/cli-tools/lmi/lmi_client_base.py b/cli-tools/lmi/lmi_client_base.py
index 7339cf3..56bd36f 100644
--- a/cli-tools/lmi/lmi_client_base.py
+++ b/cli-tools/lmi/lmi_client_base.py
@@ -88,14 +88,6 @@ class LmiReturnValue(_RValue):
"""
return self._properties["hostname"]
- @property
- def instance_classname(self):
- """
- Property returning instance class name. Used in the interactive mode's
output
- hook.
- """
- return self._properties["instance"].classname if
self._properties["instance"] else ""
-
def __new__(self, **kwargs):
"""
Creates a new instance of LmiReturnValue. At least rval keyword argument must be
diff --git a/cli-tools/lmi/lmi_client_shell.py b/cli-tools/lmi/lmi_client_shell.py
index 88319da..9735fa7 100644
--- a/cli-tools/lmi/lmi_client_shell.py
+++ b/cli-tools/lmi/lmi_client_shell.py
@@ -1846,7 +1846,6 @@ class _LmiInstanceMethod(BaseObject):
return LmiReturnValue(rval = rval, errorstr = errorstr)
return LmiReturnValue(
hostname = self._client.hostname,
- instance = self._lmi_instance,
use_display_hook = True,
rval = rval,
rparams = call_rparams,
@@ -2476,7 +2475,6 @@ class _LmiInstance(BaseObject):
(rval, rparams, errorstr) = self._client._modify_instance(self._cim_instance)
return LmiReturnValue(
hostname = self._client.hostname,
- instance = self._cim_instance,
use_display_hook = True,
rval = rval,
rparams = rparams,