httpclient: apply change df9aea1def3e: remove use of two-argument raise
authorAugie Fackler <raf@durin42.com>
Tue, 01 Jan 2013 13:25:07 -0600
changeset 18179 f614543733b6
parent 18178 6ae45c0b4625
child 18180 c582a71457e5
httpclient: apply change df9aea1def3e: remove use of two-argument raise
mercurial/httpclient/socketutil.py
--- 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: