From 24db8357cbf54f9874dd27b6cf5d33f7321990bb Mon Sep 17 00:00:00 2001 From: Sylvain LE GAL Date: Thu, 20 Nov 2014 11:28:01 +0100 Subject: [PATCH] [FIX] 'user_ldap_populate' pylint; --- users_ldap_populate/model/users_ldap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/users_ldap_populate/model/users_ldap.py b/users_ldap_populate/model/users_ldap.py index 1381bf418..7d02166a1 100644 --- a/users_ldap_populate/model/users_ldap.py +++ b/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: