Browse Source

Add missing "self" parameter to class method.

David Strauss 14 years ago
parent
commit
b5b1c111c4
1 changed files with 1 additions and 1 deletions
  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