Преглед на файлове

Removes unused method state.compare

Ask Solem преди 10 години
родител
ревизия
0f9b201cb4
променени са 1 файла, в които са добавени 0 реда и са изтрити 3 реда
  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)