Commit b1a904a3 authored by Chris Lamb's avatar Chris Lamb 💬

diffoscope.diff: Correct reference to self.buf.

parent e50e50d8
......@@ -528,7 +528,7 @@ class SideBySideDiff(object):
if self.hunk_size2 == 0:
self.buf[-1] = (self.buf[-1][0], self.buf[-1][1] + '\n' + l[2:])
else:
self.buf[-1] = (buf[-1][0] + '\n' + l[2:], self.buf[-1][1])
self.buf[-1] = (self.buf[-1][0] + '\n' + l[2:], self.buf[-1][1])
continue
if self.hunk_size1 <= 0 and self.hunk_size2 <= 0:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment