changeset 42857:3316e59b0105

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
author Pulkit Goyal <pulkit@yandex-team.ru>
date Thu, 22 Aug 2019 20:36:13 +0300
parents 3cf091843b4f
children 170b070ec6a5
files contrib/bdiff-torture.py
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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):