summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xTools/scripts/ndiff.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Tools/scripts/ndiff.py b/Tools/scripts/ndiff.py
index 6f0f9a9..7ceccc5 100755
--- a/Tools/scripts/ndiff.py
+++ b/Tools/scripts/ndiff.py
@@ -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:]