瀏覽代碼

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)