Repository :
http://git.fedorahosted.org/cgit/cura-tools.git
On branch : master
---------------------------------------------------------------
commit 14a1a24412c62f1fa0faea3b4db9c1bf2c136b8d
Author: Peter Hatina <phatina(a)redhat.com>
Date: Mon Aug 5 15:05:56 2013 +0200
introduce LMIMethod::print_valuemap_parameters()
---------------------------------------------------------------
cli/lmi/shell/LMIMethod.py | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/cli/lmi/shell/LMIMethod.py b/cli/lmi/shell/LMIMethod.py
index 9a93c92..614ded4 100644
--- a/cli/lmi/shell/LMIMethod.py
+++ b/cli/lmi/shell/LMIMethod.py
@@ -485,6 +485,13 @@ class LMIMethod(LMIBaseObject):
"""
return self._valuemap_parameters
+ def print_valuemap_parameters(self):
+ """
+ Prints out the list of strings of constant names.
+ """
+ for i in self._valuemap_parameters:
+ sys.stdout.write("%s\n" % i)
+
def parameters(self):
"""
Returns a list of strings of CIMMethod's parameters.