Skip to content

Commit

Permalink
[FIX] users_ldap_groups: pylint (quotes)
Browse files Browse the repository at this point in the history
  • Loading branch information
oh2fih committed Feb 24, 2024
1 parent 8911464 commit 678c2c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion users_ldap_groups/models/res_company_ldap.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def _get_or_create_user(self, conf, login, ldap_entry):
_logger.debug("deleting all groups from user %d", user_id)
groups.append((5, False, False))
for mapping in this.group_mapping_ids:
operator = getattr(op_obj, f'_{mapping.operator}')
operator = getattr(op_obj, f"_{mapping.operator}")
_logger.debug("checking mapping %s", mapping)
if operator(ldap_entry, mapping):
_logger.debug(
Expand Down

0 comments on commit 678c2c3

Please sign in to comment.