# HG changeset patch # User Pulkit Goyal # Date 1566495373 -10800 # Node ID 3316e59b0105c4056c9e78fad1d074a9fd02a318 # Parent 3cf091843b4f57a5e296b4af1666ec4bcbabc576 bdiff-torture: fix pyflakes warning reporting undefined name 'inst' Looks like I got a latest version of pyflakes somehow or it's running on py3 and it spotted this. Differential Revision: https://phab.mercurial-scm.org/D6757 diff -r 3cf091843b4f -r 3316e59b0105 contrib/bdiff-torture.py --- a/contrib/bdiff-torture.py Tue Aug 27 11:56:19 2019 -0700 +++ b/contrib/bdiff-torture.py Thu Aug 22 20:36:13 2019 +0300 @@ -53,8 +53,7 @@ test1(a, b) return except Exception as inst: - pass - print("exception:", inst) + print("exception:", inst) reducetest(a, b) def test(a, b):