Skip to content

Commit

Permalink
Linting error fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
afechler committed Mar 4, 2024
1 parent 48276fa commit 2e85bc2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions synapse/rest/admin/users.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,9 +183,7 @@ def _filter(a: attr.Attribute) -> bool:

return HTTPStatus.OK, ret

def _parse_parameter_deactivated(
self, request: SynapseRequest
) -> Optional[bool]:
def _parse_parameter_deactivated(self, request: SynapseRequest) -> Optional[bool]:
"""
Return None (no filtering) if `deactivated` is `true`, otherwise return `False`
(exclude deactivated users from the results).
Expand Down

0 comments on commit 2e85bc2

Please sign in to comment.