bdiff-torture: fix pyflakes warning reporting undefined name 'inst'
authorPulkit Goyal <pulkit@yandex-team.ru>
Thu, 22 Aug 2019 20:36:13 +0300
changeset 42857 3316e59b0105
parent 42856 3cf091843b4f
child 42858 170b070ec6a5
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
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):