minor: Remove confusing parens.

Apparently I put these parens in the code as
part of 73c30774cb
during 2017.

It looks like I extracted is_public during
the middle of my change and forgot to remove
the unnecessary parens.  (The code was correct,
but it makes it look like a tuple if you're
skimming it too quickly.)
This commit is contained in:
Steve Howell 2020-10-18 14:24:42 +00:00 committed by Tim Abbott
parent d60dd94168
commit 78384ebf1b
1 changed files with 1 additions and 1 deletions

View File

@ -5074,7 +5074,7 @@ def gather_subscriptions_helper(user_profile: UserProfile,
if ns_stream_dict['id'] in never_subscribed_stream_ids] if ns_stream_dict['id'] in never_subscribed_stream_ids]
for stream in never_subscribed_streams: for stream in never_subscribed_streams:
is_public = (not stream['invite_only']) is_public = not stream['invite_only']
if is_public or user_profile.is_realm_admin: if is_public or user_profile.is_realm_admin:
stream_dict = build_stream_dict_for_never_sub( stream_dict = build_stream_dict_for_never_sub(
stream=stream, stream=stream,