summaryrefslogtreecommitdiffstats
path: root/pykolab/auth/ldap/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'pykolab/auth/ldap/__init__.py')
-rw-r--r--pykolab/auth/ldap/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pykolab/auth/ldap/__init__.py b/pykolab/auth/ldap/__init__.py
index 5087bb6..df35cd1 100644
--- a/pykolab/auth/ldap/__init__.py
+++ b/pykolab/auth/ldap/__init__.py
@@ -197,7 +197,7 @@ class LDAP(pykolab.base.Base):
pass
retval = False
- timeout = self.config_get('timeout', 10)
+ timeout = self.config_get('timeout', default=10)
if entry_dn is None:
_search = self.ldap.search_ext(
@@ -3100,7 +3100,7 @@ class LDAP(pykolab.base.Base):
"""
if timeout is None:
- timeout = self.config_get('timeout', 10)
+ timeout = self.config_get('timeout', default=10)
supported_controls = conf.get_list('ldap', 'supported_controls')