mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 20:44:04 +00:00
lint: Fix code that evaded our lint checks for string % non-tuple.
Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
This commit is contained in:
committed by
Tim Abbott
parent
d1b8497afb
commit
643bd18b9f
@@ -183,7 +183,7 @@ class TestMissedMessages(ZulipTestCase):
|
||||
hamlet = self.example_user('hamlet')
|
||||
handle_missedmessage_emails(hamlet.id, [{'message_id': msg_id, 'trigger': trigger}])
|
||||
if settings.EMAIL_GATEWAY_PATTERN != "":
|
||||
reply_to_addresses = [settings.EMAIL_GATEWAY_PATTERN % (u'mm' + t) for t in tokens]
|
||||
reply_to_addresses = [settings.EMAIL_GATEWAY_PATTERN % (u'mm' + t,) for t in tokens]
|
||||
reply_to_emails = [formataddr(("Zulip", address)) for address in reply_to_addresses]
|
||||
else:
|
||||
reply_to_emails = ["noreply@testserver"]
|
||||
|
||||
Reference in New Issue
Block a user