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

Clarify the use of an seperate "NullChanges" file to represent missing data in...

Clarify the use of an seperate "NullChanges" file to represent missing data in the Debian package comparator.
parent 1dbc0d63
No related branches found
No related tags found
No related merge requests found
......@@ -130,11 +130,11 @@ class DebControlFile(File):
if isinstance(file, DebControlFile):
return file._deb822
class DummyChanges(dict):
class NullChanges(dict):
def get_as_string(self, _):
return ""
return DummyChanges(Files=[], Version="")
return NullChanges(Files=[], Version="")
@staticmethod
def _parse_gpg(file):
......
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