diff options
Diffstat (limited to 'Tools')
-rwxr-xr-x | Tools/scripts/ndiff.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Tools/scripts/ndiff.py b/Tools/scripts/ndiff.py index 7ceccc5..6f0f9a9 100755 --- a/Tools/scripts/ndiff.py +++ b/Tools/scripts/ndiff.py @@ -118,8 +118,7 @@ def main(args): def restore(which): restored = difflib.restore(sys.stdin.readlines(), which) - for line in restored: - print line, + sys.stdout.writelines(restored) if __name__ == '__main__': args = sys.argv[1:] |