remove unnecessary __ne__ implementation
authorJacob Lifshay <programmerjake@gmail.com>
Tue, 8 Sep 2020 02:05:01 +0000 (19:05 -0700)
committerJacob Lifshay <programmerjake@gmail.com>
Tue, 8 Sep 2020 02:05:01 +0000 (19:05 -0700)
src/budget_sync/budget_graph.py

index 3b58127a4f4b265502c6198d77b35cf98663d35c..e713935e4b04f48bdca907111a487ced89fc26cc 100644 (file)
@@ -275,9 +275,6 @@ class Node:
     def __eq__(self, other):
         return self.bug.id == other.bug.id
 
     def __eq__(self, other):
         return self.bug.id == other.bug.id
 
-    def __ne__(self, other):
-        return self.bug.id != other.bug.id
-
     def __hash__(self):
         return self.bug.id
 
     def __hash__(self):
         return self.bug.id