Fix restore (difflib.restore() became a generator too).
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 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:]