summary refs log tree commit diff
diff options
context:
space:
mode:
authorChristoph Witzany <christoph@web.crofting.com>2016-04-06 18:03:55 +0200
committerChristoph Witzany <christoph@web.crofting.com>2016-04-06 18:23:46 +0200
commit3555a659ec5a78ef1dad2a9fb1e28d2fcb4f06b5 (patch)
tree18d522fb283a61ee4afb6d65591fef3ea19eab5a
parentconditionally import ldap (diff)
downloadsynapse-3555a659ec5a78ef1dad2a9fb1e28d2fcb4f06b5.tar.xz
output ldap version for info and to pacify pep8
-rw-r--r--synapse/handlers/auth.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/handlers/auth.py b/synapse/handlers/auth.py
index 12585abb1b..cae81dbd67 100644
--- a/synapse/handlers/auth.py
+++ b/synapse/handlers/auth.py
@@ -60,6 +60,8 @@ class AuthHandler(BaseHandler):
 
         if self.ldap_enabled:
             import ldap
+            logger.info("Import ldap version: %s", ldap.__version__)
+
 
         self.hs = hs  # FIXME better possibility to access registrationHandler later?