D6757: bdiff-torture: fix pyflakes warning reporting undefined name 'inst'

pulkit (Pulkit Goyal) phabricator at mercurial-scm.org
Thu Sep 5 14:57:59 EDT 2019


Closed by commit rHG3316e59b0105: bdiff-torture: fix pyflakes warning reporting undefined name 'inst' (authored by pulkit).
This revision was automatically updated to reflect the committed changes.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D6757?vs=16295&id=16376

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D6757/new/

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, av6
Cc: mercurial-devel


More information about the Mercurial-devel mailing list