# HG changeset patch # User Simon Heimberg # Date 1372704536 -7200 # Node ID 9dac69d57f755b9e20c89152c0d25375d59bb8ab # Parent 9ff91ff2797daed9d18714330641ff1fa2818f42 cleanup: drop unused variables and an unused import [ original upstream message ] diff -r 9ff91ff2797d -r 9dac69d57f75 tests/hghave.py --- 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)