mercurial/url.py
changeset 18176 ffec6d0a5ed6
parent 17428 72803c8edaa4
child 19535 df2155ebf502
--- a/mercurial/url.py	Tue Jan 01 12:50:23 2013 -0600
+++ b/mercurial/url.py	Tue Jan 01 12:50:46 2013 -0600
@@ -164,7 +164,7 @@
                     if sock is not None:
                         sock.close()
 
-            raise socket.error, msg
+            raise socket.error(msg)
 
 class httpconnection(keepalive.HTTPConnection):
     # must be able to send big bundle as stream.