Fixed a flake8 warning.
This commit is contained in:
parent
a6a8268d19
commit
f6c208d95c
|
@ -1058,7 +1058,7 @@ class SMTPBackendTests(BaseEmailBackendTests, SimpleTestCase):
|
|||
msg = None
|
||||
for i, m in enumerate(smtp_messages):
|
||||
if m[:4] == 'data':
|
||||
msg = smtp_messages[i+1]
|
||||
msg = smtp_messages[i + 1]
|
||||
break
|
||||
|
||||
self.assertTrue(msg)
|
||||
|
|
Loading…
Reference in New Issue