From 52c503dbb37d61013d8adb50c3929f089dfa3ffa Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Sat, 20 Jun 2015 21:48:52 +0200 Subject: Make Config.get_symbols(True) return a list for Python 3. Was returning a dict_values. --- kconfiglib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kconfiglib.py') 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 -- cgit v1.2.3