Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
user_topics: Clean up the 'duplicate_request' variable.
Prakhar Pratyush7754483c3f2b
diff --git a/zerver/lib/user_topics.py b/zerver/lib/user_topics.pyindex 68a940acb44..3898b4b1c51 100644--- a/zerver/lib/user_topics.py+++ b/zerver/lib/user_topics.py@@ -164,8 +164,7 @@ def bulk_set_user_topic_visibility_policy_in_database(user_profiles_seeking_visibility_policy_update: List[UserProfile] = []for row in rows:- duplicate_request: bool = row.visibility_policy == visibility_policy- if duplicate_request:+ if row.visibility_policy == visibility_policy:logging.info("User %s tried to set visibility_policy to its current value of %s",row.user_profile_id,