--- a/server/sources/ldapuser.py Tue Sep 20 15:14:04 2011 +0200
+++ b/server/sources/ldapuser.py Wed Sep 21 17:38:00 2011 +0200
@@ -273,7 +273,7 @@
if self._conn is None:
try:
self._connect()
- except:
+ except Exception:
self.exception('unable to connect to ldap:')
return ConnectionWrapper(self._conn)
@@ -570,7 +570,7 @@
try:
for i in range(len(value)):
value[i] = unicode(value[i], 'utf8')
- except:
+ except Exception:
pass
if isinstance(value, list) and len(value) == 1:
rec_dict[key] = value = value[0]