Repository : http://git.fedorahosted.org/cgit/cura-tools.git
On branch : openlmi-tools-lmiwbem
commit 7cabefea1fbaf38a087851a0fbb6d801502a3e2b Author: Peter Hatina phatina@redhat.com Date: Fri Jul 11 11:56:01 2014 +0200
fix method name, when sync prefix is present
cli/lmi/shell/LMIMethod.py | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/cli/lmi/shell/LMIMethod.py b/cli/lmi/shell/LMIMethod.py index 9aabec2..ddeb843 100644 --- a/cli/lmi/shell/LMIMethod.py +++ b/cli/lmi/shell/LMIMethod.py @@ -185,12 +185,12 @@ class LMIMethod(LMIWrapperBaseObject): if is_sync: # Store the synchronous flag and trim the method name self._sync_method = True - method_name = method_name[4:] + self._method_name = method_name[4:]
# We need to have CIMClass with qualifiers. Fetch full class. lmi_class = self._lmi_instance._lmi_class lmi_class.fetch(True) - self._method = lmi_class._cim_class.methods[method_name] + self._method = lmi_class._cim_class.methods[self._method_name]
# Store the constant values as a list. This can consume some time, if # computed on demand.
cura-tools-devel@lists.fedorahosted.org