pep8: Add compliance with rule E261 scripts/lib/email-mirror-postfix.

This commit is contained in:
Aditya Bansal 2017-06-01 01:49:16 +05:30 committed by Tim Abbott
parent aa433f4342
commit ee369ceb0c
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ def send_email_mirror(rcpt_to, shared_secret, host, url, test, verify_ssl):
# type: (Text, Text, Text, Text, bool, bool) -> None
if not rcpt_to:
print("5.1.1 Bad destination mailbox address: No missed message email address.")
exit(posix.EX_NOUSER) # type: ignore # There are no stubs for posix in python 3
exit(posix.EX_NOUSER) # type: ignore # There are no stubs for posix in python 3
msg_text = sys.stdin.read(MAX_ALLOWED_PAYLOAD + 1)
if len(msg_text) > MAX_ALLOWED_PAYLOAD:
# We're not at EOF, reject large mail.