mercurial/httpclient/socketutil.py
changeset 18179 f614543733b6
parent 14990 494b26ad8736
child 19182 fae47ecaa952
--- a/mercurial/httpclient/socketutil.py	Tue Jan 01 13:21:15 2013 -0600
+++ b/mercurial/httpclient/socketutil.py	Tue Jan 01 13:25:07 2013 -0600
@@ -70,7 +70,7 @@
                 continue
             break
         if not sock:
-            raise socket.error, msg
+            raise socket.error(msg)
         return sock
 
 if ssl: