changeset 18179:f614543733b6

httpclient: apply change df9aea1def3e: remove use of two-argument raise
author Augie Fackler <raf@durin42.com>
date Tue, 01 Jan 2013 13:25:07 -0600
parents 6ae45c0b4625
children c582a71457e5
files mercurial/httpclient/socketutil.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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: