hghave: remove unused "as ex" in exception block
authorAugie Fackler <augie@google.com>
Sun, 04 Mar 2018 10:23:07 -0500
changeset 36719 1d06407d0ee9
parent 36718 19e859cad54c
child 36720 c442c4a92ae8
hghave: remove unused "as ex" in exception block I overlooked this when removing a debug print in another change. Differential Revision: https://phab.mercurial-scm.org/D2637
tests/hghave.py
--- a/tests/hghave.py	Sat Mar 03 18:33:10 2018 -0500
+++ b/tests/hghave.py	Sun Mar 04 10:23:07 2018 -0500
@@ -715,5 +715,5 @@
         from mercurial import policy
         bdiff = policy.importmod('bdiff')
         return bdiff.xdiffblocks('', '') == [(0, 0, 0, 0)]
-    except (ImportError, AttributeError) as ex:
+    except (ImportError, AttributeError):
         return False