Fix syntax error in last commit.

This commit is contained in:
Ben Edwards
2012-01-06 13:52:49 -07:00
parent d339ffe9d9
commit a25141f9f4
+1 -1
View File
@@ -298,7 +298,7 @@ class Request(object):
scheme, netloc, path, params, query, fragment = urlparse(self.url)
if not scheme:
raise ValueError("Invalid URL %r: No schema supplied" %r self.url)
raise ValueError("Invalid URL %r: No schema supplied" %self.url)
netloc = netloc.encode('idna')