From d0008687d08b88f914fbcf11369db5c4c1775b67 Mon Sep 17 00:00:00 2001 From: Daniel Reis Date: Mon, 19 Aug 2013 09:10:25 +0100 Subject: [PATCH] FIX --- users_ldap_mail/users_ldap_model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/users_ldap_mail/users_ldap_model.py b/users_ldap_mail/users_ldap_model.py index 33c976834..dd447ec3b 100644 --- a/users_ldap_mail/users_ldap_model.py +++ b/users_ldap_mail/users_ldap_model.py @@ -66,6 +66,6 @@ class CompanyLDAP(orm.Model): values[value_key] = ldap_entry[1][conf[conf_name]][0] except KeyError: _log.warning('No LDAP attribute "%s" found for login "%s"' % ( - conf.get(conf_name, values.get('login')))) + conf.get(conf_name), values.get('login'))) return values