Mercurial > hg-stable
changeset 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 | 19e859cad54c |
children | c442c4a92ae8 |
files | tests/hghave.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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