summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJens Vagelpohl <jens@netz.ooo>2001-07-08 14:11:04 +0000
committerJens Vagelpohl <jens@netz.ooo>2001-07-08 14:11:04 +0000
commit7912293c493f99043ece88b5ec373f41cbe09329 (patch)
treefa4102869d7a6a2dada7db2f08368e689ce298c1
parent977519a66e28d4c169ec6450e64ecfd81fb0edee (diff)
downloadLDAPUserManager-7912293c493f99043ece88b5ec373f41cbe09329.zip
LDAPUserManager-7912293c493f99043ece88b5ec373f41cbe09329.tar.gz
Small fix to avoid error traceback when a user record was added
(Tracker Item 53)
-rw-r--r--LDAPUserManager.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/LDAPUserManager.py b/LDAPUserManager.py
index ce6304f..c30709b 100644
--- a/LDAPUserManager.py
+++ b/LDAPUserManager.py
@@ -177,6 +177,7 @@ class LDAPUserManager( SimpleItem, LDAPShared ):
msg = 'User %s was already in group %s' % (user_dn, role)
except Exception, e:
msg = self._formatException(e)
+ user_dn = ''
self._disconnect(connection)