diff tests/hghave.py @ 36719:1d06407d0ee9

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
author Augie Fackler <augie@google.com>
date Sun, 04 Mar 2018 10:23:07 -0500
parents 7834927f0243
children 3f7bbce8fbaa
line wrap: on
line diff
--- 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