Repository : http://git.fedorahosted.org/cgit/cura-tools.git
On branch : openlmi-tools-lmiwbem
commit a53482642259f8636d51dd2b404e984136013bc8 Author: Peter Hatina phatina@redhat.com Date: Thu Apr 24 11:05:16 2014 +0200
fix EnumerateClassNames in LMIClass::methods()
EnumerateClassNames() with DeepInheritance=True.
cli/lmi/shell/LMIClass.py | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/cli/lmi/shell/LMIClass.py b/cli/lmi/shell/LMIClass.py index 698320f..7408957 100644 --- a/cli/lmi/shell/LMIClass.py +++ b/cli/lmi/shell/LMIClass.py @@ -337,7 +337,8 @@ class LMIClass(LMIWrapperBaseObject): **Usage:** See :ref:`class_methods`. **Note:** When caching is turned off, this method may consume some time. """ - class_names, _, _ = self._conn._client._get_class_names(self.namespace) + class_names, _, _ = self._conn._client._get_class_names( + self.namespace, DeepInheritance=True) methods_lst = self._cim_class.methods.keys() # Iterate through a list of all CIM methods and append any method which # can be called in the synchronous way. One type of such method is the
cura-tools-devel@lists.fedorahosted.org