typos: Fix typos caught by typos.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
(cherry picked from commit 4cb2eded68)
This commit is contained in:
Anders Kaseorg
2023-10-09 11:54:10 -07:00
committed by Tim Abbott
parent 3a2a217fa0
commit 41a6511924
10 changed files with 10 additions and 10 deletions

View File

@@ -1362,7 +1362,7 @@ def do_convert_data(
# Slack's export doesn't set the UTF-8 flag on each
# filename entry, despite encoding them as such, so
# zipfile mojibake's the output. Explicitly re-interpret
# it as UTF-8 mis-decoded as cp437, the default.
# it as UTF-8 misdecoded as cp437, the default.
for fileinfo in zipObj.infolist():
fileinfo.flag_bits |= 0x800
fileinfo.filename = fileinfo.filename.encode("cp437").decode("utf-8")

View File

@@ -1464,7 +1464,7 @@ def get_incoming_message_ids(import_dir: Path, sort_by_date: bool) -> List[int]:
# save memory and speed up the sort. For
# Zulip-to-Zulip imports, the
# message_id will generally be a good tiebreaker.
# If we occasionally mis-order the ids for two
# If we occasionally misorder the ids for two
# messages from the same second, it's not the
# end of the world, as it's likely those messages
# arrived to the original server in somewhat

View File

@@ -737,7 +737,7 @@ class HomeTest(ZulipTestCase):
self.assertIn(bots[2].id, bot_ids)
self.assertIn(bots[2].id, active_ids)
# Make sure nobody got mis-bucketed.
# Make sure nobody got misbucketed.
self.assertNotIn(hamlet.id, non_active_ids)
self.assertNotIn(defunct_user.id, active_ids)

View File

@@ -41,7 +41,7 @@ def sentry_tunnel(
# debugging more complicated.
updated_body = request.body
# If we fail to update the body for any reason, leave it as-is; it
# is better to mis-report the IP than to drop the report entirely.
# is better to misreport the IP than to drop the report entirely.
with suppress(Exception):
# This parses the Sentry ingestion format, known as an
# Envelope. See https://develop.sentry.dev/sdk/envelopes/ for