ソースを参照

Add missing "self" parameter to class method.

David Strauss 14 年 前
コミット
b5b1c111c4
1 ファイル変更1 行追加1 行削除
  1. 1 1
      celery/backends/cassandra.py

+ 1 - 1
celery/backends/cassandra.py

@@ -93,7 +93,7 @@ class CassandraBackend(BaseDictBackend):
 
         self._column_family = None
 
-    def _retry_on_error(func):
+    def _retry_on_error(self, func):
         def wrapper(*args, **kwargs):
             self = args[0]
             ts = time.time() + self._retry_timeout