提交 e95d912b 编写于 作者: B Behdad Esfahbod

Fix diff tool

上级 41ae674f
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册