diff --git a/scripts/lib/email-mirror-postfix b/scripts/lib/email-mirror-postfix index c2126f35e0..1095654063 100755 --- a/scripts/lib/email-mirror-postfix +++ b/scripts/lib/email-mirror-postfix @@ -50,7 +50,7 @@ import posix import json from six.moves.urllib.parse import urljoin, urlencode -from six.moves.urllib.request import Request, urlopen # type: ignore # six.moves.urllib.request +from six.moves.urllib.request import Request, urlopen from six.moves.urllib.error import HTTPError from six.moves.configparser import RawConfigParser from six import text_type @@ -133,7 +133,7 @@ def send_email_mirror(rcpt_to, shared_secret, host, url, test, verify_ssl): "secret": shared_secret} req = Request(url=urljoin(host, url), data=urlencode(data).encode('utf8')) try: - urlopen(req, **request_context) + urlopen(req, **request_context) # type: ignore # six.moves.urllib.request except HTTPError as err: process_response_error(err)