Skip to content

Commit

Permalink
make flake8 happy
Browse files Browse the repository at this point in the history
  • Loading branch information
vbrik committed Nov 25, 2024
1 parent d3c5242 commit c71638b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion krs/users.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ async def list_users(search=None, attr_query=None, rest_client=None):
for key, value in attr_query.items():
if (bad_chars & (set(str(value)) | set(str(key)))
or ':' in str(key)):
raise NotImplementedError(f"Cowardly refusing to run query { {key:value} }."
raise NotImplementedError(f"Cowardly refusing to run query {dict([(key,value)])}."
f" Either I don't know how to format the query or"
f" Keycloak is known to have trouble with similar queries.")

Expand Down

0 comments on commit c71638b

Please sign in to comment.