# HG changeset patch # User Augie Fackler # Date 1452714070 18000 # Node ID 50c5192e4a5edce42a92d487b95b5d4fd1a0d58e # Parent a09f143daaf4c76eabe2b17b4d52e147be6c625a util: don't capture exception with a name since we don't use it Spotted by pyflakes. diff -r a09f143daaf4 -r 50c5192e4a5e mercurial/util.py --- a/mercurial/util.py Fri Jan 08 16:12:58 2016 -0800 +++ b/mercurial/util.py Wed Jan 13 14:41:10 2016 -0500 @@ -2693,7 +2693,7 @@ exc_type = None exc_val = None exc_tb = None - except BaseException as e: + except BaseException: pending = sys.exc_info() exc_type, exc_val, exc_tb = pending = sys.exc_info() del self._atexit