projects
/
mediagoblin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make ldap plugin python3 compatible
[mediagoblin.git]
/
mediagoblin
/
plugins
/
ldap
/
tools.py
diff --git
a/mediagoblin/plugins/ldap/tools.py
b/mediagoblin/plugins/ldap/tools.py
index 2be2dcd74aaf3f283144aae82b48c6244e90a930..9d6d8b2aaa56276dc88be55cf010cbe3e6bf5c44 100644
(file)
--- a/
mediagoblin/plugins/ldap/tools.py
+++ b/
mediagoblin/plugins/ldap/tools.py
@@
-57,7
+57,7
@@
class LDAP(object):
email = self._get_email(v, username)
return username, email
- except ldap.LDAPError
,
e:
+ except ldap.LDAPError
as
e:
_log.info(e)
finally: