# HG changeset patch # User Augie Fackler # Date 2013-01-01 19:25:07 # Node ID f614543733b6780c8b3faf9a01d11cf1e5d9fb9c # Parent 6ae45c0b46259418c76d93cccaecee61a99fd54c httpclient: apply change df9aea1def3e: remove use of two-argument raise diff --git a/mercurial/httpclient/socketutil.py b/mercurial/httpclient/socketutil.py --- a/mercurial/httpclient/socketutil.py +++ b/mercurial/httpclient/socketutil.py @@ -70,7 +70,7 @@ except AttributeError: continue break if not sock: - raise socket.error, msg + raise socket.error(msg) return sock if ssl: