diff options
Diffstat (limited to 'Tools/scripts')
-rwxr-xr-x | Tools/scripts/ndiff.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Tools/scripts/ndiff.py b/Tools/scripts/ndiff.py index a5468f6..6f0f9a9 100755 --- a/Tools/scripts/ndiff.py +++ b/Tools/scripts/ndiff.py @@ -73,9 +73,8 @@ def fcompare(f1name, f2name): a = f1.readlines(); f1.close() b = f2.readlines(); f2.close() - - diff = difflib.ndiff(a, b) - sys.stdout.writelines(diff) + for line in difflib.ndiff(a, b): + print line, return 1 |