Browse Source

Fixes typo in docstring

Ask Solem 13 years ago
parent
commit
b975a87a88
2 changed files with 2 additions and 2 deletions
  1. 1 1
      celery/app/task/builtins.py
  2. 1 1
      celery/beat.py

+ 1 - 1
celery/app/task/builtins.py

@@ -30,8 +30,8 @@ def add_unlock_chord_task(app):
         from ...result import AsyncResult, TaskSetResult
         from ...task.sets import subtask
 
-        j = result.join_native if result.supports_native_join else result.join
         result = TaskSetResult(setid, map(AsyncResult, result))
+        j = result.join_native if result.supports_native_join else result.join
         if result.ready():
             subtask(callback).delay(j(propagate=propagate))
         else:

+ 1 - 1
celery/beat.py

@@ -110,7 +110,7 @@ class ScheduleEntry(object):
                               "options": other.options})
 
     def is_due(self):
-        """See :meth:`celery.task.base.PeriodicTask.is_due`."""
+        """See :meth:`~celery.schedule.schedule.is_due`."""
         return self.schedule.is_due(self.last_run_at)
 
     def __iter__(self):