From 58fbf26212e7782e95a1bceaca774b3d9433aa8f Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=B6rg=20Lehmann?= Date: Mon, 23 Mar 2009 18:25:39 +0000 Subject: [PATCH] fix list options git-svn-id: https://pyx.svn.sourceforge.net/svnroot/pyx/trunk/pyx@3005 069f4177-920e-0410-937b-c2a4a81bcd90 --- pyx/config.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pyx/config.py b/pyx/config.py index 2c12f0ad..7a9c6c05 100644 --- a/pyx/config.py +++ b/pyx/config.py @@ -54,10 +54,9 @@ def getboolean(section, option, default): def getlist(section, option, default): try: - options = config.get(section, option).split() + return config.get(section, option).split() except: return default - return [config.get(section, option) for option in options] formatWarnings = get("general", "warnings", "default") -- 2.11.4.GIT