We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d47522 commit c79f7a8Copy full SHA for c79f7a8
debparse/deb_control/classes.py
@@ -86,6 +86,9 @@ def id(self):
86
if self.type == 'binary':
87
return self['Package'].text
88
89
+ def __hash__(self):
90
+ return hash(self.type) ^ hash(self.id)
91
+
92
# TODO:
93
# * Every field value must be FieldValue inheritor, it
94
# should have type, format or is_list at least. So we need to make
0 commit comments