util: don't capture exception with a name since we don't use it
authorAugie Fackler <augie@google.com>
Wed, 13 Jan 2016 14:41:10 -0500
changeset 27755 50c5192e4a5e
parent 27754 a09f143daaf4
child 27756 598e21079884
util: don't capture exception with a name since we don't use it Spotted by pyflakes.
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