We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
startswith
tuple
1 parent ad9c085 commit 7aeb8f2Copy full SHA for 7aeb8f2
zulip/integrations/zephyr/zephyr_mirror_backend.py
@@ -863,9 +863,11 @@ class and your mirroring bot does not have access to the relevant \
863
{support_closing}""",
864
)
865
return
866
- elif code != 0 and (
867
- stderr.startswith("zwrite: Ticket expired while sending notice to ")
868
- or stderr.startswith("zwrite: No credentials cache found while sending notice to ")
+ elif code != 0 and stderr.startswith(
+ (
+ "zwrite: Ticket expired while sending notice to ",
869
+ "zwrite: No credentials cache found while sending notice to ",
870
+ )
871
):
872
# Retry sending the message unauthenticated; if that works,
873
# just notify the user that they need to renew their tickets
0 commit comments