[diffoscope] 04/05: Explicitly specify keepends=True over comment.
Chris Lamb
chris at chris-lamb.co.uk
Thu Jun 8 08:20:50 CEST 2017
This is an automated email from the git hooks/post-receive script.
lamby pushed a commit to branch experimental
in repository diffoscope.
commit b762ac2aa3d3d00b3adc0eb983198e3f7046e71e
Author: Chris Lamb <lamby at debian.org>
Date: Wed Jun 7 19:46:26 2017 +0100
Explicitly specify keepends=True over comment.
---
diffoscope/diff.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/diffoscope/diff.py b/diffoscope/diff.py
index f957bd0..b9501d8 100644
--- a/diffoscope/diff.py
+++ b/diffoscope/diff.py
@@ -246,7 +246,7 @@ def diff(feeder1, feeder2):
def reverse_unified_diff(diff):
res = []
- for line in diff.splitlines(True): # keepends=True
+ for line in diff.splitlines(keepends=True):
found = DiffParser.RANGE_RE.match(line)
if found:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/diffoscope.git
More information about the diffoscope
mailing list