# HG changeset patch # User Augie Fackler # Date 1520176987 18000 # Node ID 1d06407d0ee96d4063fbdeee2deff24a55a19b9b # Parent 19e859cad54ca8b1067f8848d5425d2b453c1a7b 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 diff -r 19e859cad54c -r 1d06407d0ee9 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