summaryrefslogtreecommitdiffstats
path: root/pykolab/conf
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-05-14 11:57:12 +0100
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-05-14 11:57:12 +0100
commit7960e263a1522142bfb845eb32ee7cbf810e14ee (patch)
tree136794f78b8f34b77a3c9452abd481c57e7ad430 /pykolab/conf
parent6aefc3863a3669a261d2b0d704ff561ae387e715 (diff)
downloadpykolab-7960e263a1522142bfb845eb32ee7cbf810e14ee.tar.gz
The idea is to return none, not whatever arbitrary string
Diffstat (limited to 'pykolab/conf')
-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 9092689..441c99b 100644
--- a/pykolab/conf/__init__.py
+++ b/pykolab/conf/__init__.py
@@ -528,10 +528,10 @@ class Conf(object):
return _dict[key]
else:
log.warning(_("Option does not exist in defaults."))
- return _("Not available")
+ return None
else:
log.warning(_("Option does not exist in defaults."))
- return _("Not available")
+ return None
def check_setting_config_file(self, value):
if os.path.isfile(value):