Skip to content

Commit

Permalink
Fix small typos (aio-libs#2609)
Browse files Browse the repository at this point in the history
  • Loading branch information
socketpair authored and asvetlov committed Dec 14, 2017
1 parent dd234f3 commit c256c29
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions aiohttp/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ async def _request(self, method, url, *,
try:
proxy = URL(proxy)
except ValueError:
raise InvalidURL(url)
raise InvalidURL(proxy)

# timeout is cumulative for all request operations
# (request, redirects, responses, data consuming)
Expand All @@ -215,8 +215,6 @@ async def _request(self, method, url, *,
timeout if timeout is not sentinel else self._read_timeout)
handle = tm.start()

url = URL(url)

traces = [
Trace(
self,
Expand Down

0 comments on commit c256c29

Please sign in to comment.