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

login
register
mail settings
Submitter phabricator
Date Sept. 5, 2019, 6:57 p.m.
Message ID <6bbc5264b3528f422c2ce666ca6d62a1@localhost.localdomain>
Download mbox | patch
Permalink /patch/41477/
State Not Applicable
Headers show

Comments

phabricator - Sept. 5, 2019, 6:57 p.m.
Closed by commit rHG3316e59b0105: bdiff-torture: fix pyflakes warning reporting undefined name &#039;inst&#039; (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




To: pulkit, #hg-reviewers, av6
Cc: mercurial-devel

Patch

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):