Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
realm_settings: Fix duplicate word typos in comments.
Ikko Eltociear Ashimine0507f65da5cc
diff --git a/zerver/actions/realm_settings.py b/zerver/actions/realm_settings.pyindex 4962f6378cc..e5134ff6097 100644--- a/zerver/actions/realm_settings.py+++ b/zerver/actions/realm_settings.py@@ -60,7 +60,7 @@ def do_set_realm_property(realm: Realm, name: str, value: Any, *, acting_user: UserProfile | None) -> None:"""Takes in a realm object, the name of an attribute to update, the- value to update and and the user who initiated the update.+ value to update and the user who initiated the update."""property_type = Realm.property_types[name]assert isinstance(@@ -168,7 +168,7 @@ def do_change_realm_permission_group_setting(acting_user: UserProfile | None,) -> None:"""Takes in a realm object, the name of an attribute to update, the- user_group to update and and the user who initiated the update.+ user_group to update and the user who initiated the update."""assert setting_name in Realm.REALM_PERMISSION_GROUP_SETTINGSold_value = getattr(realm, setting_name)