From 9e0749ad82efb41caf9626b655226d57119132d7 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Thu, 1 Jun 2017 22:51:26 -0700 Subject: [PATCH] email-mirror-postfix: Fix mypy errors. --- scripts/lib/email-mirror-postfix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)