Ver Fonte

Removes unused method state.compare

Ask Solem há 10 anos atrás
pai
commit
0f9b201cb4
1 ficheiros alterados com 0 adições e 3 exclusões
  1. 0 3
      celery/states.py

+ 0 - 3
celery/states.py

@@ -112,9 +112,6 @@ class state(str):
 
 
     """
     """
 
 
-    def compare(self, other, fun):
-        return fun(precedence(self), precedence(other))
-
     def __gt__(self, other):
     def __gt__(self, other):
         return precedence(self) < precedence(other)
         return precedence(self) < precedence(other)