Browse Source

[FIX] 'user_ldap_populate' pylint;

pull/86/head
Sylvain LE GAL 10 years ago
parent
commit
24db8357cb
  1. 2
      users_ldap_populate/model/users_ldap.py

2
users_ldap_populate/model/users_ldap.py

@ -50,7 +50,7 @@ class CompanyLDAP(orm.Model):
if not conf['create_user']:
continue
attribute_match = re.search(
'([a-zA-Z_]+)=\%s', conf['ldap_filter'])
r'([a-zA-Z_]+)=\%s', conf['ldap_filter'])
if attribute_match:
login_attr = attribute_match.group(1)
else:

Loading…
Cancel
Save