diff options
Diffstat (limited to 'contrib/scripts/pydiffer.py.in')
-rw-r--r-- | contrib/scripts/pydiffer.py.in | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/contrib/scripts/pydiffer.py.in b/contrib/scripts/pydiffer.py.in index 35d9ffa35..08f0f4ae6 100644 --- a/contrib/scripts/pydiffer.py.in +++ b/contrib/scripts/pydiffer.py.in | |||
@@ -10,7 +10,10 @@ def getdiff(old, new): | |||
10 | diff = [] | 10 | diff = [] |
11 | with open(old) as a: | 11 | with open(old) as a: |
12 | with open(new) as b: | 12 | with open(new) as b: |
13 | for l in difflib.unified_diff(a.read().splitlines(), b.read().splitlines()): | 13 | for l in difflib.unified_diff( |
14 | a.read().splitlines(), | ||
15 | b.read().splitlines() | ||
16 | ): | ||
14 | diff.append(l) | 17 | diff.append(l) |
15 | return diff | 18 | return diff |
16 | 19 | ||