diff --git a/requests/models.py b/requests/models.py index 31bff1ac45..752c58c153 100644 --- a/requests/models.py +++ b/requests/models.py @@ -358,8 +358,8 @@ def prepare_url(self, url, params): if not scheme: raise MissingSchema("Invalid URL {0!r}: No schema supplied. " - "Perhaps you meant http://{0}?" - .format(to_native_string(url, 'utf8'))) + "Perhaps you meant http://{0}?".format( + to_native_string(url, 'utf8'))) if not host: raise InvalidURL("Invalid URL %r: No host supplied" % url)