ruff: Fix PLR1711 Useless `return` statement at end of function.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2023-03-23 13:12:13 -07:00 committed by Tim Abbott
parent 870238206c
commit 869ea542fa
1 changed files with 0 additions and 1 deletions

View File

@ -240,7 +240,6 @@ def check_stream_access_based_on_stream_post_policy(sender: UserProfile, stream:
and sender.is_provisional_member
):
raise JsonableError(_("New members cannot send to this stream."))
return
def access_stream_for_send_message(