Commit 42b68772 authored by Tim Peters's avatar Tim Peters

Fix restore (difflib.restore() became a generator too).

parent 8a9c2844
......@@ -118,7 +118,8 @@ def main(args):
def restore(which):
restored = difflib.restore(sys.stdin.readlines(), which)
sys.stdout.writelines(restored)
for line in restored:
print line,
if __name__ == '__main__':
args = sys.argv[1:]
......
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