Skip to content
Snippets Groups Projects
Commit 8f63a6fd authored by Chris Lamb's avatar Chris Lamb :eyes:
Browse files

Add matching comments to tie up a slightly abstraction-breaking bit of code in...

Add matching comments to tie up a slightly abstraction-breaking bit of code in diffoscope.comparators.mising_file and the .dsc/.buildinfo file handling.
parent 6b2f2e49
No related branches found
No related tags found
No related merge requests found
......@@ -114,6 +114,8 @@ class DebControlFile(File):
@property
def deb822(self):
# Be nicer to .changes and .dsc comparisons; see
# diffoscope.comparators.missing_file.MissingFile.deb822
return self._deb822
def compare_details(self, other, source=None):
......
......@@ -104,7 +104,8 @@ class MissingFile(File):
def magic_file_type(self):
return self._other_file.magic_file_type
# Be nice to .changes and .dsc comparisons
# Be nice to .changes and .dsc comparisons; see
# diffoscope.comparators.debian.DebControlFile.deb822
@property
def deb822(self):
class DummyChanges(dict):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment