summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pykolab/conf/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pykolab/conf/__init__.py b/pykolab/conf/__init__.py
index e6db94e..01282f2 100644
--- a/pykolab/conf/__init__.py
+++ b/pykolab/conf/__init__.py
@@ -463,12 +463,12 @@ class Conf(object):
setting = self.get_raw(section, key)
if setting == None:
- return None
+ return []
raw_values = setting.split(',')
if raw_values == None:
- return None
+ return []
for raw_value in raw_values:
untrimmed_values.extend(raw_value.split(' '))