summaryrefslogtreecommitdiffstats
path: root/pykolab
diff options
context:
space:
mode:
Diffstat (limited to 'pykolab')
-rw-r--r--pykolab/auth/ldap/__init__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pykolab/auth/ldap/__init__.py b/pykolab/auth/ldap/__init__.py
index a6a1044..3101217 100644
--- a/pykolab/auth/ldap/__init__.py
+++ b/pykolab/auth/ldap/__init__.py
@@ -898,8 +898,9 @@ class LDAP(pykolab.base.Base):
if quota_attribute == None:
return
+ # The default quota may be None, but LDAP quota could still be set
if default_quota == None:
- return
+ default_quota = 0
self._bind()