diff tests/hghave.py @ 19378:9de689d20230

cleanup: drop unused variables and an unused import
author Simon Heimberg <simohe@besonet.ch>
date Mon, 01 Jul 2013 20:48:56 +0200
parents 8c560ad1cdc4
children b8316878a685
line wrap: on
line diff
--- a/tests/hghave.py	Mon Jul 01 20:48:55 2013 +0200
+++ 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)