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 8010948..e6db94e 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 self.defaults.address_search_attrs
+ return None
raw_values = setting.split(',')
if raw_values == None:
- return self.defaults.address_search_attrs
+ return None
for raw_value in raw_values:
untrimmed_values.extend(raw_value.split(' '))