--- a/tests/hghave.py Tue Apr 30 14:56:33 2013 +0100 +++ b/tests/hghave.py Mon Jul 01 20:48:56 2013 +0200 @@ -105,7 +105,7 @@ sock = socket.socket(socket.AF_UNIX) try: sock.bind(name) - except socket.error, err: + except socket.error: return False sock.close() os.unlink(name)