Browse Source

Fixes typos

Mher Movsisyan 12 years ago
parent
commit
37a3bc5f6c
1 changed files with 2 additions and 2 deletions
  1. 2 2
      celery/worker/buckets.py

+ 2 - 2
celery/worker/buckets.py

@@ -67,7 +67,7 @@ class TaskBucket(object):
 
     def put(self, request):
         """Put a :class:`~celery.worker.job.Request` into
-        the appropiate bucket."""
+        the appropriate bucket."""
         if request.name not in self.buckets:
             self.add_bucket_for_type(request.name)
         self.buckets[request.name].put_nowait(request)
@@ -118,7 +118,7 @@ class TaskBucket(object):
             return min(remaining_times), None
 
     def get(self, block=True, timeout=None):
-        """Retrive the task from the first available bucket.
+        """Retrieve the task from the first available bucket.
 
         Available as in, there is an item in the queue and you can
         consume tokens from it.