summaryrefslogtreecommitdiff
path: root/configshell
diff options
context:
space:
mode:
authorAndy Grover <agrover@redhat.com>2012-02-06 17:20:36 -0800
committerAndy Grover <agrover@redhat.com>2012-02-06 17:20:36 -0800
commit9b721145f811985c33e59019ac2804ce4839ade6 (patch)
tree9e91f3cda78e699a0cf226047014e8e84d7e531e /configshell
parentfcba44eb442fd26bfb4749c38994657cb6c02796 (diff)
downloadconfigshell-fb-9b721145f811985c33e59019ac2804ce4839ade6.tar.gz
Only return dict keys from list_config_groups
That's all anyone is looking at. Signed-off-by: Andy Grover <agrover@redhat.com>
Diffstat (limited to 'configshell')
-rw-r--r--configshell/node.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/configshell/node.py b/configshell/node.py
index ec96d13..74d1879 100644
--- a/configshell/node.py
+++ b/configshell/node.py
@@ -1712,7 +1712,7 @@ class ConfigNode(object):
'''
Lists the configuration group names.
'''
- return self._configuration_groups
+ return self._configuration_groups.keys()
def list_group_params(self, group, writable=None):
'''