summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Sulfrian <alex@spline.inf.fu-berlin.de>2016-10-04 02:29:28 +0200
committerroot <root@vm-accounts.spline.inf.fu-berlin.de>2016-10-04 02:29:28 +0200
commit1d56ca73ee4de1c3c46681f9797e8d70454f4e61 (patch)
treef1c32fd42ba0731be686791f16ea93c02d4de3ff
parentd141139a303985c41a897b39b14579ff75ee6b2e (diff)
downloadweb-1d56ca73ee4de1c3c46681f9797e8d70454f4e61.tar.gz
web-1d56ca73ee4de1c3c46681f9797e8d70454f4e61.tar.bz2
web-1d56ca73ee4de1c3c46681f9797e8d70454f4e61.zip
Fix typo
-rw-r--r--accounts/backend/user/ldap.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/accounts/backend/user/ldap.py b/accounts/backend/user/ldap.py
index 2045c99..9730f13 100644
--- a/accounts/backend/user/ldap.py
+++ b/accounts/backend/user/ldap.py
@@ -223,7 +223,7 @@ class LdapBackend(Backend):
conn.modify(uidNumber_dn, {'uidNumber': [
(ldap3.MODIFY_DELETE, [uidNumber + i]),
(ldap3.MODIFY_ADD, [uidNumber + i + 1]),
- ])
+ ]})
if conn.result == ldap3.RESULT_SUCCESS:
return uidNumber + i + 1