summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2015-06-20 21:48:52 +0200
committerUlf Magnusson <ulfalizer@gmail.com>2015-06-20 21:49:40 +0200
commit52c503dbb37d61013d8adb50c3929f089dfa3ffa (patch)
tree43815eb16aa2dbc223059b72a2003ad01d1808e7
parent1d20379f8815264e06119a6237630f17dd3fb83d (diff)
Make Config.get_symbols(True) return a list for Python 3.
Was returning a dict_values.
-rw-r--r--kconfiglib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kconfiglib.py b/kconfiglib.py
index 151a521..c08d838 100644
--- a/kconfiglib.py
+++ b/kconfiglib.py
@@ -340,7 +340,7 @@ class Config(object):
merely referred to in the configuration will be included in the
result, and will appear in the order that they are defined within
the Kconfig configuration files."""
- return self.syms.values() if all_symbols else self.kconfig_syms
+ return list(self.syms.values()) if all_symbols else self.kconfig_syms
def __iter__(self):
"""Convenience function for iterating over the set of all defined