ruff: Fix PLW0120 Else clause on loop without a break statement.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2022-12-11 01:48:05 -08:00
committed by Tim Abbott
parent f7e97b1180
commit a6442288cf
2 changed files with 2 additions and 4 deletions

View File

@@ -823,8 +823,7 @@ Output:
[confirmation_url] = match.groups()
return confirmation_url
else:
raise AssertionError("Couldn't find a confirmation email.")
raise AssertionError("Couldn't find a confirmation email.")
def encode_uuid(self, uuid: str) -> str:
"""