mercurial/httpconnection.py
changeset 25206 18a032704f0a
parent 19809 50d721553198
child 25429 9d1c61715939
--- a/mercurial/httpconnection.py	Mon May 18 16:46:32 2015 -0500
+++ b/mercurial/httpconnection.py	Mon May 18 16:47:26 2015 -0500
@@ -70,11 +70,7 @@
         gdict[setting] = val
 
     # Find the best match
-    if '://' in uri:
-        scheme, hostpath = uri.split('://', 1)
-    else:
-        # Python 2.4.1 doesn't provide the full URI
-        scheme, hostpath = 'http', uri
+    scheme, hostpath = uri.split('://', 1)
     bestuser = None
     bestlen = 0
     bestauth = None