소스 검색

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)