[Reproducible-builds] [reproducible/diffoscope.git: PATCH 5/5] Specify source of 'Files' correct; was using "Changes" leaked from for loop
Chris Lamb
lamby at debian.org
Thu Aug 20 20:05:18 UTC 2015
---
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 45c03c4..4d5282f 100644
--- a/diffoscope/comparators/debian.py
+++ b/diffoscope/comparators/debian.py
@@ -142,7 +142,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))
--
2.5.0
More information about the Reproducible-builds
mailing list