[Reproducible-commits] [diffoscope] 06/09: Specify source of 'Files' correct; was using "Changes" leaked from for loop
Jérémy Bobbio
lunar at moszumanska.debian.org
Thu Aug 20 22:09:41 UTC 2015
This is an automated email from the git hooks/post-receive script.
lunar pushed a commit to branch master
in repository diffoscope.
commit 3325563438483070f589d738cc310c1dadeee3e5
Author: Chris Lamb <lamby at debian.org>
Date: Thu Aug 20 22:05:18 2015 +0200
Specify source of 'Files' correct; was using "Changes" leaked from for loop
---
diffoscope/comparators/debian.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/diffoscope/comparators/debian.py b/diffoscope/comparators/debian.py
index 6f0e4e8..aeb0af9 100644
--- a/diffoscope/comparators/debian.py
+++ b/diffoscope/comparators/debian.py
@@ -144,7 +144,7 @@ class DotChangesFile(File):
# compare Files as string
differences.append(Difference.from_unicode(self.changes.get_as_string('Files'),
other.changes.get_as_string('Files'),
- self.path, other.path, source=field))
+ self.path, other.path, source='Files'))
with DotChangesContainer(self).open() as my_container, \
DotChangesContainer(other).open() as other_container:
differences.extend(my_container.compare(other_container, source))
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/diffoscope.git
More information about the Reproducible-commits
mailing list