changeset 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 a09f143daaf4
children 598e21079884
files mercurial/util.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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