cleanup: drop unused variables and an unused import stable
authorSimon Heimberg <simohe@besonet.ch>
Mon, 01 Jul 2013 20:48:56 +0200
branchstable
changeset 1279 9dac69d57f75
parent 1278 9ff91ff2797d
child 1280 952364b69450
cleanup: drop unused variables and an unused import [ original upstream message ]
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)