Tests pass this time.

This commit is contained in:
Ian Cordasco
2013-01-22 17:21:34 -05:00
parent 47aa968f3c
commit ca85b4ec6c
+1 -1
View File
@@ -283,7 +283,7 @@ class PreparedRequest(RequestEncodingMixin, RequestHooksMixin):
# Support for unicode domain names and paths.
scheme, netloc, path, _params, query, fragment = urlparse(url)
if not scheme:
if not (scheme and netloc):
raise MissingSchema("Invalid URL %r: No schema supplied" % url)
try: