budget-sync is now working after adding code to use a config file
[utils.git] / src / budget_sync / config.py
index 2f0e0f77254b558b8c794648cf2a7541923dd0c3..1bebca1211b754f512b9e20639c0e066053362ac 100644 (file)
@@ -46,6 +46,12 @@ class Milestone:
         self.identifier = identifier
         self.canonical_bug_id = canonical_bug_id
 
+    def __eq__(self, other):
+        return self.identifier == other.identifier
+
+    def __hash__(self):
+        return hash(self.identifier)
+
     def __repr__(self):
         return f"Milestone(config=..., " \
             f"identifier={self.identifier!r}, " \