Merge pull request #342 from bjedwards/patch-1

Fix syntax error in last commit.
This commit is contained in:
Kenneth Reitz
2012-01-06 12:53:56 -08:00
+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')