From e95d912b3b0af027c4384553f95236db822e5acc Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Wed, 11 Apr 2012 17:33:02 -0400 Subject: [PATCH] Fix diff tool --- test/shaping/hb_test_tools.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/shaping/hb_test_tools.py b/test/shaping/hb_test_tools.py index aeecb4595..94207f8db 100644 --- a/test/shaping/hb_test_tools.py +++ b/test/shaping/hb_test_tools.py @@ -99,9 +99,9 @@ class FancyDiffer: sys.stdout.writelines (FancyDiffer.diff_lines (l1, l2, colors)) # print out residues for l in f1: - sys.stdout.writelines (["-", colors.red, l1, colors.end]) + sys.stdout.writelines (["-", colors.red, l, colors.end]) for l in f1: - sys.stdout.writelines (["-", colors.green, l1, colors.end]) + sys.stdout.writelines (["-", colors.green, l, colors.end]) except IOError as e: if e.errno != errno.EPIPE: print >> sys.stderr, "%s: %s: %s" % (sys.argv[0], e.filename, e.strerror)