flake8 fixes

This commit is contained in:
Matt Martz 2017-05-02 11:08:32 -05:00
parent fe864f6dce
commit b33c7533df
1 changed files with 2 additions and 2 deletions

View File

@ -448,7 +448,7 @@ class SpeedtestHTTPSHandler(AbstractHTTPHandler):
_build_connection(
SpeedtestHTTPSConnection,
self.source_address,
timeout,
self.timeout,
context=self._context,
),
req
@ -840,7 +840,7 @@ class SpeedtestResults(object):
request = build_request('://www.speedtest.net/api/api.php',
data='&'.join(api_data).encode(),
headers=headers)
f, e = catch_request(request, opener=_self.opener)
f, e = catch_request(request, opener=self._opener)
if e:
raise ShareResultsConnectFailure(e)