Explorar o código

Removes unused method state.compare

Ask Solem %!s(int64=10) %!d(string=hai) anos
pai
achega
0f9b201cb4
Modificáronse 1 ficheiros con 0 adicións e 3 borrados
  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):
         return precedence(self) < precedence(other)