D6757: bdiff-torture: fix pyflakes warning reporting undefined name 'inst'
pulkit (Pulkit Goyal)
phabricator at mercurial-scm.org
Thu Aug 22 17:55:43 UTC 2019
pulkit created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
Looks like I got a latest version of pyflakes somehow or it's running on py3 and
it spotted this.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D6757
AFFECTED FILES
contrib/bdiff-torture.py
CHANGE DETAILS
diff --git a/contrib/bdiff-torture.py b/contrib/bdiff-torture.py
--- a/contrib/bdiff-torture.py
+++ b/contrib/bdiff-torture.py
@@ -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):
To: pulkit, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list