From a25141f9f42f481a70debbcf20977e7b208c03d9 Mon Sep 17 00:00:00 2001 From: Ben Edwards Date: Fri, 6 Jan 2012 13:52:49 -0700 Subject: [PATCH] Fix syntax error in last commit. --- requests/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requests/models.py b/requests/models.py index a26e704..6cb9aeb 100644 --- a/requests/models.py +++ b/requests/models.py @@ -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') -- 2.34.1