aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin
diff options
context:
space:
mode:
Diffstat (limited to 'mediagoblin')
-rw-r--r--mediagoblin/plugins/ldap/README.rst2
-rw-r--r--mediagoblin/plugins/ldap/tools.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/mediagoblin/plugins/ldap/README.rst b/mediagoblin/plugins/ldap/README.rst
index 049b5c4d..fe9a96f5 100644
--- a/mediagoblin/plugins/ldap/README.rst
+++ b/mediagoblin/plugins/ldap/README.rst
@@ -26,7 +26,7 @@ LDAP server.
Set up the LDAP plugin
======================
-1. Install the ``python-ldap`` package.
+1. Install the ``python3-ldap`` package.
2. Add the following to your MediaGoblin .ini file in the ``[plugins]`` section::
diff --git a/mediagoblin/plugins/ldap/tools.py b/mediagoblin/plugins/ldap/tools.py
index 2be2dcd7..9d6d8b2a 100644
--- 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: