Mercurial > public > mercurial-scm > hg-stable
diff mercurial/util.py @ 27755:50c5192e4a5e
util: don't capture exception with a name since we don't use it
Spotted by pyflakes.
author | Augie Fackler <augie@google.com> |
---|---|
date | Wed, 13 Jan 2016 14:41:10 -0500 |
parents | 4e27c0a70574 |
children | dd0c5f4d1b53 |
line wrap: on
line diff
--- 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