We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 671eeb3 commit fa73bb8Copy full SHA for fa73bb8
1 file changed
users_ldap_mail/models/users_ldap_model.py
@@ -45,7 +45,7 @@ def _map_ldap_attributes(self, conf, login, ldap_entry):
45
values[value_key] = tools.ustr(ldap_entry[1][conf[conf_name]][0])
46
except KeyError:
47
_logger.warning(
48
- 'No LDAP attribute "%s" found for login "%s"'
49
- % (conf.get(conf_name), values.get("login"))
+ f'No LDAP attribute "{conf.get(conf_name)}" found for '
+ f'login "{values.get("login")}"'
50
)
51
return values
0 commit comments